View source: R/utils-transform.R
| split_form | R Documentation |
This function generates a nested dataset containing only the variables associated with each form, using the provided data, dictionary, and event-form mapping. You can choose to return data for a specific form.
split_form(data, dic, event_form = NULL, which = NULL, wide = FALSE)
data |
Data frame containing data from REDCap. |
dic |
Data frame containing the dictionary read from REDCap. |
event_form |
Data frame containing the correspondence of each event with each form. |
which |
Character string specifying a form if only data for that form is desired. |
wide |
Logical indicating if the dataset should be returned in a wide format ( |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.