label_variables: Label variables

Description Usage Arguments Details Value

View source: R/data.R

Description

Apply labels to all variables in the data frame that need them. To do this:

Usage

1
label_variables(df, labels_list)

Arguments

df

Data frame

labels_list

List that contains the consolidated labels

Details

First, determine the variables that have labels for them in the list of labels. Then, apply those labels to each column

Value

Data frame with labelled columns


arthur-shaw/nsuoutils documentation built on Dec. 19, 2021, 4:41 a.m.