Export validation results from the validate package to ESS JSON reporting standard (pdf)
Read validation results from ESS JSON reporting standard.
Create attractive validation reports based on results from the validate package (EXPERIMENTAL)
Install the beta version (0.5.0.x)
On Windows, make sure that you have the correct version of rtools installed.
Install the drat package.
From the R command-line do
drat :: addRepo(" markvanderloo" )
install.packages(" validatereport" , type = " source" )
Install the development version
git clone https://data-cleaning/validatereport
cd validatereport
make install
Exporting to ESS validation report format
library(validatereport )
data(SBS2000 )
rules <- validator(turnover > = 0
, mean(turnover , na.rm = TRUE ) > = 1
, turnover + other.rev == total.rev )
result <- confront(SBS2000 , rules , key = " id" )
json <- ess_validation_report(result , rules )
cat(json )
# or, export to file
export_ess_validation_report(result , rules , file = " report.json" )