Learn R Programming

tidyqwi (version 0.1.2)

add_qwi_labels: add_qwi_labels

Description

This function add labels to a `qwi` object

Usage

add_qwi_labels(df)

Arguments

df

an object with a class of `qwi`

Value

a data.frame with formatted column names and types

Examples

Run this code
# NOT RUN {
library(tidyqwi)

# Add labels
labelled_nc <- add_qwi_labels(nc_qwi)

# Check the label for the data
attr(labelled_nc[["Emp"]], "label")


# }
# NOT RUN {
# }

Run the code above in your browser using DataLab