Given a REDCap data dictionary, enumerate every response value for every categorical field in that data dictionary

get_long_categorical_field_responses(metadata)

Arguments

metadata

A REDCap data dictionary

Value

a 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{
long_categorical_field_responses <-
  get_long_categorical_field_responses(metadata_to_populate)
} # }