check_repeat_and_nonrepeat: Check for instruments that have both repeating and...

View source: R/checks.R

check_repeat_and_nonrepeatR Documentation

Check for instruments that have both repeating and non-repeating structure

Description

Check for potential instruments that are given both repeating and nonrepeating structure. REDCapTidieR does not support database structures built this way.

Usage

check_repeat_and_nonrepeat(db_data, call = caller_env())

Arguments

db_data

The REDCap database output generated by REDCapR::redcap_read_oneshot()$data

call

the calling environment to use in the error message

Value

A helpful error message alerting the user to existence of an instrument that was designated both as repeating and non-repeating.


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