Skip to contents

Builds a dataset-level profile containing variable summaries, dataset shape, missingness, duplicate-row counts, type counts, and warnings that deserve analyst attention.

Usage

profile_data(data, by = NULL, alpha = 0.05, digits = NULL)

Arguments

data

A data frame or tibble.

by

Optional grouping columns passed to summarize_data().

alpha

Significance level for normality decisions.

digits

Optional number of digits used to round numeric output.

Value

A datasum_profile list with dataset, summary, and warnings.

Examples

profile <- profile_data(iris)
profile$dataset
#>   rows columns complete_rows duplicated_rows total_missing missing_pct
#> 1  150       5           150               1             0           0
#>          type_profile
#> 1 factor=1, numeric=4