Learn R Programming

REDCapTidieR (version 1.2.3)

check_forms_exist: Check that all requested instruments are in REDCap project metadata

Description

Provide an error message when any instrument names are passed to read_redcap() that do not exist in the project metadata.

Usage

check_forms_exist(db_metadata, forms, call = caller_env())

Value

An error message listing the requested instruments that don't exist

Arguments

db_metadata

The metadata file read by REDCapR::redcap_metadata_read()

forms

The character vector of instrument names passed to read_redcap()

call

the calling environment to use in the error message