Learn R Programming

redcapAPI (version 2.11.1)

exportSAS: Export the REDCap data as a SAS importable set of files.

Description

This creates a csv for each form and a SAS script that will load all the data into SAS.

Usage

exportSAS(rcon, directory = NULL, ...)

Value

A vector of exported data set names.

Arguments

rcon

A redcapConnection object.

directory

NULL or character(1). Directory to write files into. Defaults to current working directory.

...

Arguments to pass to other methods

Details

This function is experimental and needs feedback/suggestions to flesh it out fully. If this feature is important to you, please consider opening an issue on github to suggest improvements.

This function relies on exportBulkRecords to do the bulk of the export before formatting for SAS. ... are supplied to exportBulkRecords so full user inversion of control still applies.

See Also

exportBulkRecords()

Examples

Run this code
if (FALSE) {
exportSAS(rcon)
}

Run the code above in your browser using DataLab