Add filtering step definition
Usage
add_step(x, step, ...)
# S3 method for Cohort
add_step(
x,
step,
run_flow = FALSE,
hook = list(pre = get_hook("pre_add_step_hook"), post = get_hook("post_add_step_hook")),
...
)
# S3 method for Source
add_step(x, step, ...)
Arguments
- x
An object to add step to.
- step
Step definition created with step.
- ...
Other parameters passed to specific S3 method.
- run_flow
If `TRUE`, data flow is run after the step is added.
- hook
List of hooks describing methods to run before/after the step is added.
See hooks for more details.
Value
Method dependent object (i.e. `Cohort` or `Source`) having new step added.