Set the ID column in the survey tibble.
Usage
step_set_id(x, var_id = "uuid", secondary_ids = c(), snapshot_data = FALSE)Arguments
- x
A survey tibble.
- var_id
Character. The name of the ID column. Default is "uuid".
- secondary_ids
Character vector. Names of secondary ID columns. Default is an empty vector.
- snapshot_data
Logical. If
TRUE, a snapshot of the data is taken. IfFALSE, snapshot without data is taken. IfNULL, no snapshot is taken.