check_forms_exist {REDCapTidieR}R Documentation

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())

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

Value

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


[Package REDCapTidieR version 1.2.3 Index]