Add filter definition
add_filter(x, filter, step_id, ...)# S3 method for Cohort
add_filter(x, filter, step_id, run_flow = FALSE, ...)
# S3 method for Source
add_filter(x, filter, step_id, ...)
Method dependent object (i.e. `Cohort` or `Source`) having filter added in selected step.
An object to add filter to.
Filter definition created with filter.
Id of the step to add the filter to. If missing, filter is added to the last step.
Other parameters passed to specific S3 method.
If `TRUE`, data flow is run after the filter is added.
managing-cohort, managing-source