Check for potential instruments that are given both repeating and
nonrepeating structure. REDCapTidieR
does not support database
structures built this way.
check_repeat_and_nonrepeat(db_data, call = caller_env())
A helpful error message alerting the user to existence of an instrument that was designated both as repeating and non-repeating.
The REDCap database output generated by
REDCapR::redcap_read_oneshot()$data
the calling environment to use in the error message