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_PROJECT_PURPOSE

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 5.

An object of class character of length 5.

An object of class character of length 11.

An object of class character of length 25.

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


redcapAPI documentation built on Oct. 17, 2024, 5:07 p.m.