label_select_multiple: Label select_multiple question

View source: R/utils_kobo.R

label_select_multipleR Documentation

Label select_multiple question

Description

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


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