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

View source: R/exportSAS.R

exportSASR Documentation

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, ...)

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.

Value

A vector of exported data set names.

See Also

exportBulkRecords()

Examples

## Not run: 
exportSAS(rcon)

## End(Not run)

redcapAPI documentation built on Dec. 9, 2025, 5:07 p.m.