add_qwi_labels: add_qwi_labels

View source: R/add_qwi_labels.R

add_qwi_labelsR Documentation

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


library(tidyqwi)

# Add labels
labelled_nc <- add_qwi_labels(nc_qwi)

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





medewitt/tidyqwi documentation built on April 29, 2024, 9:46 p.m.