Split survey type and list name
Usage
split_survey(
survey,
col_to_split,
into = c("type", "list_name"),
sep = " ",
fill = "right",
...
)
Arguments
- survey
A survey sheet from Kobo
- col_to_split
Usually
type
- into
Vector of columns names to split to. Default to c("type", "list_name" )
- sep
The separator. Default to " ".
- fill
How to fill. Default to NA on the right.
- ...
Params to pass to
tidyr::separate