fieldChoiceMapping {redcapAPI} | R Documentation |
Split a Field Choice Mapping Into a Two Column Matrix
Description
Uses the string from the select_choices_or_calculations
for the meta data to create a matrix of codes and their mapped
labels.
Usage
fieldChoiceMapping(object, field_name, ...)
## S3 method for class 'character'
fieldChoiceMapping(object, field_name, ...)
## S3 method for class 'redcapApiConnection'
fieldChoiceMapping(object, field_name, ...)
Arguments
object |
|
field_name |
|
... |
Arguments to pass to other methods |
Value
Returns a matrix with two columns, choice_value
and choice_label
[Package redcapAPI version 2.9.1 Index]