Skip to contents

Label all select_one and select_multiple questions

Usage

label(data, survey, choices, id_col)

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

Value

Select multiples and select ones labelled dataframe