- project
A list containing the REDCap data, dictionary, and event mapping (expected redcap_data() output). Overrides data, dic, and event_form.
- variables
Character vector of variable names to check for queries.
- expression
Character vector of R expressions to evaluate for each variable.
- negate
Logical, if TRUE, identifies values that do not meet the condition. Default is FALSE.
- event
Required for longitudinal projects to avoid overestimation. REDCap event(s) to analyze.
- filter
Optional string of filters to apply to the dataset, such as the branching logic of a variable.
- addTo
Optional data frame from a previous query report to which the new results can be appended.
- variables_names
Optional character vector of descriptions for each variable. Defaults to the variables labels in the dictionary.
- query_name
Optional character vector describing each query. Defaults to a standard format: The value is [value] and it should not be [expression].
- instrument
Optional REDCap instrument(s) for each variable. Defaults to the instrument reported in the dictionary.
- report_title
Optional string specifying the title of the final report. Defaults to "Report of queries".
- report_zeros
Logical, include variables with zero queries in the report. Default is FALSE.
- by_dag
Logical, split results by Data Access Group (DAG). Default is FALSE.
- link
Optional list containing project information (domain, redcap_version, proj_id, event_id) to generate clickable links for each query.
- data
A data.frame or tibble with the REDCap dataset.
- dic
A data.frame with the REDCap dictionary.
- event_form
Only applicable for longitudinal projects (presence of events). Event-to-form mapping for longitudinal projects.