redcapDataStructures: REDCap Data Structures

redcapDataStructuresR Documentation

REDCap Data Structures

Description

Utilities for recognizing and validating data structures for use with the REDCap API

Usage

validateRedcapData(data, redcap_data)

REDCAP_SYSTEM_FIELDS

REDCAP_METADATA_FIELDTYPE

REDCAP_METADATA_VALIDATION_TYPE

REDCAP_REPEAT_INSTRUMENT_STRUCTURE

Arguments

data

data.frame User provided data to be compared against the established REDCap data structure.

redcap_data

data.frame A data set from the redcapAPI package to use a reference for comparing to expected data structure.

Format

An object of class character of length 4.

An object of class character of length 11.

An object of class character of length 23.

An object of class data.frame with 0 rows and 3 columns.


redcapAPI documentation built on Sept. 13, 2023, 1:07 a.m.