Cohort object is designed to make operations on source data possible.
Arguments
- source
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.
- run_flow
If `TRUE`, data flow is run after the operation is completed.
- compute_stats
If `TRUE` (default), filter and step statistics are computed and stored after each step. Set to `FALSE` for metadata-only operation.
- propagate_domains
Domain propagation mode between steps: `"none"` (default), `"filter"` (from previous step filter values), `"stats"` (from stored statistics; requires `compute_stats = TRUE`), or `"data"` (scan filtered data; the stats-free equivalent).
- hook
List of hooks describing methods before/after the Cohort is created. See hooks for more details.
