redcapDataStructures {redcapAPI}R 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 4.

An object of class character of length 5.

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.


[Package redcapAPI version 2.9.1 Index]