splitForms {redcapAPI} | R Documentation |
Split a Data Frame into its Forms
Description
Separates a data frame from REDCap into a list of data frames where each form constitutes an element in the list.
Usage
splitForms(Records, rcon, envir = NULL, base = NULL, post = NULL)
Arguments
Records |
|
rcon |
A |
envir |
environment. The target environment for the resulting list
of |
base |
|
post |
|
See Also
Other post-processing functions
recastRecords()
,
guessCast()
,
guessDate()
,
castForImport()
,
mChoiceCast()
,
widerRepeated()
Examples
## Not run:
unlockREDCap(connections = c(rcon = "project_alias"),
url = "your_redcap_url",
keyring = "API_KEYs",
envir = globalenv())
Records <- exportRecordsTyped(rcon)
splitForms(Records, rcon)
## End(Not run)