Creates a local HTML file with no online resources. Text is escaped;
narrative findings and limitations come from the author. The dashboard
includes local table search. For editable and reproducible source files,
use cata_export().
Arguments
- data
Data frame describing the selected analysis records.
- file
Output HTML path. Existing files are protected by default.
- title, question, methods, finding, limitations, source, unit, denominator
Author-supplied report text. Missing text is displayed as "Not provided".
- plot
Optional ggplot figure.
- tables
Named list of data frames to include before the data profile.
- audit
Optional data frame of preparation/selection steps.
- format
Report or dashboard layout.
- width, height
Figure dimensions in inches.
- overwrite
Explicitly allow replacing an existing output file.
Examples
f <- tempfile(fileext = ".html")
cata_report(data.frame(value = 1:3), f, title = "Teaching example")
