powered by
Measures the facts validate_config checks a config against: dimensions, column types, distinct and missing counts per column, level counts for low-cardinality categorical columns, and the number of complete cases.
data_profile(x, n_duplicates = TRUE, fingerprint = FALSE)
DataProfile object.
DataProfile
tabular data: The dataset.
Logical: If TRUE, count rows that repeat an earlier row. The one whole-table operation here; FALSE leaves the field NULL.
Logical: If TRUE, record a data_fingerprint of x. Hashes the whole dataset, so it is off by default.
x
EDG
One pass per column and no copy of the data, so profiling is cheap enough to do per validation.
p <- data_profile(iris) p@columns p@level_counts
Run the code above in your browser using DataLab