Update source in Cohort object.
Arguments
- x
Cohort object.
- source
Source object to be updated in Cohort.
- keep_steps
If `TRUE`, steps definition remain unchanged when updating source. If `FALSE` steps configuration is deleted. If vector of type integer, specified steps will remain.
- run_flow
If `TRUE`, data flow is run after the source is updated.