update_source {cohortBuilder}R 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


[Package cohortBuilder version 0.2.0 Index]