View source: R/rc_logic_check.R
rc_logic_check | R Documentation |
Check branching logic for common errors
rc_logic_check(
data_dict = getOption("redcap_bundle")$data_dict,
events = getOption("redcap_bundle")$event_data$unique_event_name
)
data_dict |
REDCap project data data_dictionary. By default,
$data_dict is expected in the REDCap bundle option, as created by |
events |
Character. Vector of redcap event names |
This function will verify that all event and variable names used in the branching logic exist in the project metadata.
Warnings will be shown for faulty event logic in the format
[event-name] = 'event_name' AND [event-name] = 'event_name'
(field always hidden) or
[event-name] != 'event_name' OR [event-name] != 'event_name'
(field never hidden).
Marcus Lehr
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.