format_record {REDCapExporter} | R Documentation |
Format Record
Description
Use REDCap project metadata to build a well formatted data.frame
for
the record.
Usage
format_record(x, metadata = NULL, col_type = NULL, ...)
Arguments
x |
a |
metadata |
a |
col_type |
a |
... |
other arguments passed to |
Value
A data.frame
See Also
export_core
, export_content
, vignette("formatting", package = "REDCapExporter")
Examples
data("avs_raw_metadata")
data("avs_raw_record")
# Formatting the record can be called in different ways and the same result
# will be generated
identical(
format_record(avs_raw_record, avs_raw_metadata),
format_record(avs_raw_core)
)
avs <- format_record(avs_raw_record, avs_raw_metadata)
avs
[Package REDCapExporter version 0.3.1 Index]