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

Description Usage Arguments

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
quality(data, numeric_cutoff = -1, na_type = c("", " "))

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

return

a list with two elements, one with global information (dimensions, unique values and missing values) and a table with information for each variable.


MathieuMarauri/explorer documentation built on Jan. 8, 2020, 6:37 p.m.