extract_variable_label {finalfit}R Documentation

Extract variable labels from dataframe

Description

Variable labels can be created using ff_label. Some functions strip variable labels (variable attributes), e.g. forcats::fct_recode. Use this function to create a vector of variable labels from a data frame. Then use ff_relabel to relabel variables in data frame.

Usage

extract_variable_label(.data)

Arguments

.data

Dataframe containing labelled variables.

Examples

colon_s %>%
  extract_variable_label

[Package finalfit version 1.0.8 Index]