Skip to content

Create attractive validation reports, export validation results to ESS json reporting standard

Notifications You must be signed in to change notification settings

data-cleaning/validatereport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status CRAN version

validatereport

  • 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)

  1. On Windows, make sure that you have the correct version of rtools installed.
  2. Install the drat package.
  3. 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")

About

Create attractive validation reports, export validation results to ESS json reporting standard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published