Get step related data
Arguments
- x
Cohort object.
- step_id
Id of the step from which to source data.
- state
Return data before ("pre") or after ("post") step filtering?
- collect
Return raw data source (`FALSE`) object or collected (to R memory) data (`TRUE`).