Learn R Programming

dataquieR (version 2.0.1)

util_ensure_label: Utility function ensuring valid labels

Description

Utility function ensuring valid labels

Usage

util_ensure_label(meta_data, label_col)

Value

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

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