quality_report: This function renders the data quality rmardown document with...

Description Usage Arguments

View source: R/quality_report.R

Description

This function renders the data quality rmardown document with specific parameters.

Usage

1
2
quality_report(data, output_dir = ".", output_file = NULL, na_type = c("",
  " "), na_threshold = c(40, 80), order = FALSE)

Arguments

data

the dataset to analyse

output_dir

the directory to write the output file to, default to the current directory.

output_file

name of the output file. If NULL, the default then it is 'quality_report'.

na_type

a character vector of strings that will be interpreted as NA

na_threshold

numeric vector defining the range of values for the percentage of missing values to be colored green, orange and red. Default to green before 40 percent, orange between 40 and 80 and red over 80 percent. If NULL then no colors are applied

order

logical, whether to order the columns and rows to display the missing values next to each other, defautl to FALSE.


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