View source: R/utils-transform.R
split_form | R Documentation |
Function that given the data, the dictionary and the mapping between forms and events it creates a nested dataset containing all the datasets having only the variables in each form. It can be chosen to return only the data from the specified 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 |
Specify a form if only data for the desired form is wanted. |
wide |
If the dataset needs to be in a wide format or not (long). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.