update_source: Update source in Cohort object.

update_sourceR Documentation

Update source in Cohort object.

Description

Update source in Cohort object.

Usage

update_source(x, source, keep_steps = !has_steps(source), run_flow = FALSE)

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.

Value

The 'Cohort' class object with updated 'Source' definition.

See Also

managing-cohort


cohortBuilder documentation built on Sept. 25, 2024, 5:06 p.m.