View source: R/downloadREDCap.r
downloadREDCap | R Documentation |
This function downloads REDCap data from a specified project and saves it as a CSV file. If no file path has previously been set, it defaults to the working directory of the user
downloadREDCap(password, country, filepath = NULL)
password |
A character string representing the API token for the desired REDCap project. |
country |
A character string representing the country/project |
filepath |
A character string representing the desired file path in which the downloaded data will be saved. |
A CSV file containing the imported REDCap data.
## Not run:
# Please provide your own API token to use this example
# If you haven't already, you can set and retrieve password for REDCap using
# the createKeyring() or grabKeyring function.
# Run this function or visit it's vignette in epiuf for more information.
# Begin the download process using another function
accessREDCap(country)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.