audit_global: This function analyzes the data quality of a table. It gives...

Description Usage Arguments Value

View source: R/global_quality.R

Description

This function analyzes the data quality of a table. It gives the dimensions of the table along with the number of unique values and missing values/ It also outputs a table with the number of unique values, the type and the percentage of missing values by variable.

Usage

1
audit_global(data, numeric_cutoff = -1, na_type = NULL)

Arguments

data

the table to analyzed

numeric_cutoff

an integer specifying the minimal number of unique values necessary for a vector not to be considered a factor. Default to -1

na_type

a character vector of strings that will be interpreted as NA

Value

a list of length 2, first element is a list containing the number of rows, columns, unique values and missing and the second one is a table containing information on each variable (type, unique values, missing).


MathieuMarauri/auditdata documentation built on March 6, 2020, 7:09 p.m.