Learn R Programming

fixr (version 0.2.0)

check_data_quality: 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)

Value

A message indicating the results of each data quality check.

Arguments

df

A dataframe.

Examples

Run this code
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)

Run the code above in your browser using DataLab