Saving results as a HTML report
Usage
save_report(
report,
output_file = "validation_report.html",
output_dir = getwd(),
ui_constructor = render_semantic_report_ui,
template = system.file("rmarkdown/templates/standard/skeleton/skeleton.Rmd", package =
"data.validator"),
...
)
Arguments
- report
Report object that stores validation results.
- output_file
Html file name to write report to.
- output_dir
Target report directory.
- ui_constructor
Function of
validation_results
and optional parameters that generates HTML code or HTML widget that should be used to generate report content. Seecustom_report
example.- template
Path to Rmd template in which ui_constructor is rendered. See
data.validator
rmarkdown template to see basic construction - the one is used as a default template.- ...
Additional parameters passed to
ui_constructor
. For example:df_error_head_n