Learn R Programming

REDCapTidieR (version 1.2.3)

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

Value

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

Arguments

db_data

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

call

the calling environment to use in the error message