label_select_one | R Documentation |
Label select_one question
label_select_one(data, survey, choices, id_col, col, return_df = NULL)
data |
Some kobo data |
survey |
Some survey sheet, with a split 'type' column, e.g. with |
choices |
The corresponding choices sheet; it must have columns name and label |
id_col |
The id column; usually uuid |
col |
The select_one column to labelize |
return_df |
Default returns the updated dataframe; "id_col" returns a dataframe with col and id_col; and, "vector" returns |
A labelled dataframe, sub-dataframe or vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.