print.REDCapDM_report: Print a query report

View source: R/print.R

print.REDCapDM_reportR Documentation

Print a query report

Description

Shows a short summary of the output of rd_query(), rd_event() or check_queries(): the number of queries per variable and event (per state in check_queries()). The output is still a list: the queries are in ⁠$queries⁠ and the formatted summary in ⁠$results⁠.

Usage

## S3 method for class 'REDCapDM_report'
print(x, ...)

Arguments

x

Output of rd_query(), rd_event() or check_queries().

...

Not used.

Value

x, invisibly.

Examples

report <- rd_query(covican, variables = c("copd", "age"), expression = c("is.na(x)", "x > 70"),
                   event = "baseline_visit_arm_1")
report
head(report$queries)

REDCapDM documentation built on Nov. 27, 2026, 9:06 a.m.