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 Nov. 17, 2023, 1:09 a.m.