Cohort object is designed to make operations on source data possible.
cohort(
source,
...,
run_flow = FALSE,
hook = list(pre = get_hook("pre_cohort_hook"), post = get_hook("post_cohort_hook"))
)
The object of class `Cohort`.
Source object created with set_source.
Steps definition (optional). Can be also defined as a sequence of filters - the filters will be added to the first step.
If `TRUE`, data flow is run after the operation is completed.
List of hooks describing methods before/after the Cohort is created. See hooks for more details.