powered by
Secure API key storage and data acquisition in one
easy_redcap(project.name, widen.data = TRUE, uri, raw_or_label = "both", ...)
data.frame or list depending on widen.data
The name of the current project (for key storage with key_set, using the default keyring)
argument to widen the exported data
REDCap database API uri
argument passed on to read_redcap_tables. Default is "both" to get labelled data.
arguments passed on to read_redcap_tables.
if (FALSE) { easy_redcap("My_new_project", fields = c("record_id", "age", "hypertension")) }
Run the code above in your browser using DataLab