label: Label all select_one and select_multiple questions

View source: R/utils_kobo.R

labelR Documentation

Label all select_one and select_multiple questions

Description

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


gnoblet/impactR documentation built on March 20, 2023, 2:24 a.m.