dot-extract_choices: Extract choice-code mappings from radio/dropdown fields.

.extract_choicesR Documentation

Extract choice-code mappings from radio/dropdown fields.

Description

Expects comma separated codes and corresponding choices, with each pair separated by a pipe character.

Usage

.extract_choices(chr_choices)

Arguments

chr_choices

The choices string from the REDCap data dictionary.

Details

e.g. 1,A|2,B|3,C

Value

A list of codes named by choice.


MichaelPascale/rcm documentation built on July 14, 2022, 2:44 a.m.