Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

safe_exportRecords

REDCap Safe Export Records


Description

A safe wrapper around redcapAPI::exportRecords that does not fail when records are requested from an empty REDCap project. In the event of an empty project, field names are used to create an empty data structure.

Usage

safe_exportRecords(rc_con, rc_field_names)

Arguments

rc_con

A REDCap API Connection Object

rc_field_names

The field names for a REDCap instrument

Value

A data frame containing existing REDCap records, or an empty data frame with the structure of what the records would look like.


ReviewR

A Light-Weight, Portable Tool for Reviewing Individual Patient Records

v2.3.6
BSD_3_clause + file LICENSE
Authors
Laura Wiley [aut] (<https://orcid.org/0000-0001-6681-9754>), Luke Rasmussen [aut] (<https://orcid.org/0000-0002-4497-8049>), David Mayer [cre, aut], The Wiley Lab [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.