View source: R/utils-transform.R
| split_event | R Documentation |
This function generates a nested dataset filtered by each event, containing only the variables associated with each event. It uses the provided data, dictionary, and event-form mapping. You can choose to return data for a specific event.
split_event(data, dic, event_form, which = NULL)
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 an event if only data for that event is desired. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.