add_step {cohortBuilder}R Documentation

Add filtering step definition

Description

Add filtering step definition

Usage

add_step(x, step, ...)

## S3 method for class '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 class '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.

See Also

managing-cohort, managing-source


[Package cohortBuilder version 0.2.0 Index]