| multichoice_factor | R Documentation | 
Converts the numeric values returned from REDCap to factors (with levels Yes/No). This function also applies labels to the variable itself, based on the option label.
multichoice_factor(
  data,
  metadata,
  replace = FALSE,
  append = "_factor",
  include_vlabel = FALSE,
  vlabel_sep = ": "
)
| data | the data.frame to modify | 
| metadata | metadata/datadictionary | 
| replace | whether to overwrite the existing data . | 
| append | text to append to the variable name if not overwriting | 
| include_vlabel | logical indicating whether to include the variable label before the value label | 
| vlabel_sep | text to use for separating vlabel and label | 
input data.frame with additional factor variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.