Skip to contents

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