util_ensure_label: Utility function ensuring valid labels

View source: R/util_ensure_label.R

util_ensure_labelR Documentation

Utility function ensuring valid labels

Description

Utility function ensuring valid labels

Usage

util_ensure_label(meta_data, label_col)

Arguments

meta_data

data.frame the data frame that contains metadata attributes of study data

label_col

variable attribute the name of the column in the metadata with labels of variables

Value

a list containing the metadata, possibly with adapted labels, and a string informing about the changes


dataquieR documentation built on July 26, 2023, 6:10 p.m.