get_categorical_field_labels: Generates a row of code-label pair data for each code in each...

Description Usage Arguments Value Examples

View source: R/get_categorical_field_labels.R

Description

Generates a row of code-label pair data for each code in each categorical variable in a REDCap metatdata file.

Usage

1

Arguments

metadata

A REDCap metadata file with columns in the standardized format defined in https://github.com/SpectrumHealthResearch/REDCapRITS/blob/master/R/R/REDCap_split.r

Value

A dataframe with the columns, "field_name", "field_type", form_name", "code", and "label".

Examples

1
get_categorical_field_labels(AnimalIdentification_DataDictionary)

ctsit/rdatil documentation built on May 26, 2019, 12:31 p.m.