redcap_read: Retrieve credentials from a csv file and read records from a...

redcap_readR Documentation

Retrieve credentials from a csv file and read records from a REDCap project

Description

Retrieve credentials from a csv file and read records from a REDCap project

Usage

redcap_read(project_id, path_credential = "~/.REDCapR", ...)

Arguments

project_id

The ID assigned to the project withing REDCap. This allows the user to store tokens to multiple REDCap projects in one file.

path_credential

The file path to the CSV containing the credentials.

...

Additional arguments passed to REDCapR::retrieve_credential_local() and REDCapR::redcap_read().

Value

An R base::data.frame() of the desired records and columns.

Examples

## Not run: 
redcap_read(6648)

## End(Not run)

RoeLabWustl/roelabr documentation built on Aug. 27, 2022, 9:57 a.m.