Skip to contents

Label select_multiple question

Usage

label_select_multiple(data, survey, choices, id_col, col, return_df = NULL)

Arguments

data

Some kobo data

survey

Some survey sheet, with a split 'type' column, e.g. with split_survey(type). It must have columns 'list_name' and 'name'

choices

The corresponding choices sheet; it must have columns name and label

id_col

The id column; usually uuid

col

The select_multiple column to labelize

return_df

Default returns the updated dataframe; "id_col" returns a dataframe with col and id_col; and, "vector" returns

Value

A labelled dataframe, sub-dataframe or vector