saveReport {dataCompareR} | R Documentation |
Save a report based on a dataCompareR object
Description
Saves R markdown and HTML reports in the area specified by the user.
Uses knitr and markdown to create reports. Reports have the extensions .Rmd or .html.
By default the table.css
style sheet is used for format the html output.
Usage
saveReport(
compareObject,
reportName,
reportLocation = ".",
HTMLReport = TRUE,
showInViewer = TRUE,
stylesheet = NA,
printAll = FALSE,
...
)
Arguments
compareObject |
a dataCompareR object. |
reportName |
String. The name of the report. Reports will be saved as reportName.Rmd and (optionally) reportName.html in
|
reportLocation |
String. Location to save reports specified by the user. The R markdown and (optionally) HTML reports will be saved in this area |
HTMLReport |
Boolean. Option to output html report. |
showInViewer |
Boolean. Does the html report open automatically in the viewer? |
stylesheet |
String. Optional link to customised css stylesheet |
printAll |
Boolean. If TRUE, all mis-matches in the data are printed to the file. This acts as a shortcut
to get all mismatches in the report, compared to passing the number in |
... |
Optional arguments which will be passed to |
See Also
Other dataCompareR.functions:
generateMismatchData()
,
print.dataCompareRobject()
,
rCompare()
,
summary.dataCompareRobject()
Examples
## Not run: saveReport(rcObj, reportName = 'testReport')