check_data_quality {fixr} | R Documentation |
Check Data Quality
Description
This function performs a series of data quality checks on a given dataframe, including checking the data structure, missing values, data accuracy, negative values, outliers, sample size, duplicate rows, and duplicate columns.
Usage
check_data_quality(df)
Arguments
df |
A dataframe. |
Value
A message indicating the results of each data quality check.
Examples
df <- data.frame(w = c(7, 8, 180, 7), x = c("a", "b", "c", "a"),
y = c(4, NA, -6, 4), z = c(7, 8, 180, 7))
# Check the data quality of the example dataframe
check_data_quality(df)
[Package fixr version 0.1.0 Index]