.preprocess | R Documentation |
Our field names in Redcap have a lot of information in them, but some of them don't need to be used by the researcher at all. This removes some redundant information that's common to all instruments and also calls additional instrument-specific functions as needed. For example, checkbox matrices in redcap append ___X to the field name, but what X means will vary from instrument to instrument.
.preprocess(inst_data, inst_prefix, inst_name)
inst_data |
A single instrument's data |
inst_prefix |
The prefix for this instrument |
inst_name |
The name for this instrument |
A smaller dataframe with some columns renamed depending on the instrument provided
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.