example_data {REDCapExporter} | R Documentation |
Raw Exports From an Example REDCap Project
Description
These data sets are the results of calling export_content
. An API token is required to reproduce these calls. No such token will be provided publicly, so these data sets are provided so end users can run examples for other tools provided in the REDCapExporter package.
Usage
avs_raw_project_info
avs_raw_metadata
avs_raw_user
avs_raw_record
avs_raw_core
Format
An object of class rcer_raw_project
(inherits from character
) of length 1.
An object of class rcer_raw_metadata
(inherits from character
) of length 1.
An object of class rcer_raw_user
(inherits from character
) of length 1.
An object of class rcer_raw_record
(inherits from character
) of length 1.
An object of class rcer_rccore
of length 4.
Details
avs_raw_project_info
provides meta data about the project itself.
avs_raw_metadata
is the data dictionary for the REDCap Project. This information can be used with format_record
to build a data.frame
that is ready for analysis.
avs_raw_user
REDCap Project user table.
avs_raw_record
REDCap Project records, i.e., 'the data.'
Examples
## Not run:
avs_raw_project_info <- export_content(content = "project", format = "csv")
avs_raw_metadata <- export_content(content = "metadata", format = "csv")
avs_raw_user <- export_content(content = "user", format = "csv")
avs_raw_record <- export_content(content = "record", format = "csv")
avs_raw_core <- export_core(format = "csv")
## End(Not run)
data(avs_raw_project_info)
data(avs_raw_user)
data(avs_raw_metadata)
data(avs_raw_record)
data(avs_raw_core)
str(avs_raw_project_info)
str(avs_raw_user)
str(avs_raw_metadata)
str(avs_raw_record)
str(avs_raw_core)
avs <- format_record(avs_raw_record, avs_raw_metadata)
str(avs)