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

View source: R/checks.R

check_forms_existR 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


REDCapTidieR documentation built on April 3, 2025, 10:50 p.m.