Skip to contents

Write a Markdown audit report

Usage

morie_write_audit_markdown(out_path, audit_result)

Arguments

out_path

Path to write to.

audit_result

A morie_audit_result or list of them.

Value

The path written.

Examples

df <- data.frame(age = c(21, 34, NA), city = c("a", "b", "b"))
audit <- morie_audit_otis_variables(morie_specs_from_df(df))
path <- morie_write_audit_markdown(tempfile(fileext = ".md"), audit)
readLines(path)[1]
#> [1] "# morie variable-coverage audit (R-side)"