label_columns: Label data columns from survey sheet

View source: R/utils_kobo.R

label_columnsR Documentation

Label data columns from survey sheet

Description

Label data columns from survey sheet

Usage

label_columns(data, survey, name_as_label = TRUE)

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'.

name_as_label

Default to TRUE. Should the variable name be used as the label if label is missing?

Value

A dictionary or some labelled column names data


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