extract_variable_label: Extract variable labels from dataframe

View source: R/ff_label.R

extract_variable_labelR 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

finalfit documentation built on Sept. 11, 2024, 9:01 p.m.