Given a REDCap data dictionary, enumerate every response value for every categorical field in that data dictionary
Usage
get_categorical_field_responses(metadata)
Arguments
- metadata
A REDCap data dictionary
Value
A long dataframe with these columns
- field_name
First item
- field_type
Second item
- response_code
Second item
- response_label
Second item
- field_group
Second item
- weight
a set of uniform weights across the responses of each field
Examples
if (FALSE) { # \dontrun{
categorical_field_responses <-
get_categorical_field_responses(metadata_to_populate)
} # }