Learn R Programming

⚠️There's a newer version (2.10.0) of this package.Take me there.

redcapAPI

The package redcapAPI is an R interface to REDCap (http://www.project-redcap.org/), and is an actively developed fork of redcap, originally created by Jeffrey Horner.

Please read the documentation on your institutions REDCap installation.

Issues may be reported at https://github.com/nutterb/redcapAPI/issues

Please consider contributing tips and clarifications to the package wiki at https://github.com/nutterb/redcapAPI/wiki

This package was developed under REDCap Version 5.8.2. My institution is usually a little behind on updating REDCap and so some features of the API may not always be available.

The redcapDbConnection methods are underdeveloped as I don't personally have access to the REDCap database (and so am unable to test features). If you have that kind of access, feel free to develop the redcapDbConnection methods.

Supplemental Gists

Copy Link

Version

Install

install.packages('redcapAPI')

Monthly Downloads

966

Version

1.3

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Stephen Lane

Last Published

March 14th, 2015

Functions in redcapAPI (1.3)

exportFiles

Exports a File attached to a Record
syncUnderscoreCodings

Sychronize coding of checkbox variables between meta data and records field names.
exportArms

Exports the Arms for a Project
exportInstruments

Export Instrument names
redcapFactorFlip

Convert REDCap factors between labelled and coded
importFiles

Imports a File to REDCap to Attach to a Record
recodeCheck

Change labelling of checkbox variables
exportMappings

Exports the Event-Form Mappings for a Project
apiCall

Execute a Call to the REDCap API
parseBranchingLogic

Parse Branching Logic
importRecords

Import Records to a REDCap Database
redcapAPI

Access data, meta data, and files from REDCap using the API
exportVersion

Exports the REDCap Version Number
redcapProjectInfo

Export a Project's Supplemental Information
exportReports

Export Reports from a REDCap Database
deleteFiles

Delete a File attached to a Record
exportEvents

Export the Events for a Project
validateImport

Validate Data Frames for Import
fieldToVar

Convert a REDCap Data Field to an R Vector
exportRecords

Export Records from a REDCap Database
exportUsers

Export the Users for a Project
exportMetaData

Export Meta Data from a REDCap Database
redcapConnection

Connect to a REDCap Database
allocationTable

Allocation Tables for the Randomization Module