Creates a basic data quality report.

report(data, qc = NULL, file = "report.html", dir = NULL, view = TRUE)

Arguments

data

The data frame.

qc

QC errors, if not provided some tests are done on the provided data.

file

Output file (default is "report.html").

dir

Directory where to store the file (default is rappdirs::user_cache_dir("obistools")).

view

Logical, show the report in a browser after creation (default TRUE).

Value

Returns the full path to the generated html report.

Examples

# NOT RUN {
report(abra)
# }