Create a concise, clinically oriented first look at a dataset. One row is
returned per variable, combining its label, detected type, completeness,
cardinality, a type-specific overview, and range or levels. Potential
data-quality findings are kept separately in $issues.
Usage
describe_data(data, vars = NULL, digits = 2, format = c("table", "tibble"))Value
With format = "table", a gt_describe object that prints as a
publication-ready table. $summary is the concise variable overview and
$issues contains only findings requiring review. With
format = "tibble", the concise summary tibble is returned directly.
Details
describe_data() deliberately does not assess distributional assumptions
or recommend inferential tests. Use assess_distribution() for the shape of
selected continuous variables, summary_table() for detailed descriptive
statistics, and compare_groups() for inferential comparisons.