validate v0.2.6


Monthly downloads



Data Validation Infrastructure

Declare data validation rules and data quality indicators; confront data with them and analyze or visualize the results. The package supports rules that are per-field, in-record, cross-record or cross-dataset. Rules can be automatically analyzed for rule type and connectivity.

Functions in validate

Name Description
aggregate,validation-method Aggregate validation results
all,validation-method Test if all validations resulted in TRUE
created Creation timestamp
description Rule description
expr Get expressions
plot,validation-method Plot a validation object
barplot,cellComparison-method Barplot of cellComparison object
barplot,validation-method Plot number of violations
plot,validator-method Plot a validator object
check_that Simple data validation interface
compare Compare similar data sets
sort,validation-method Aggregate and sort the results of a validation.
errors Get messages from a confrontation object
export_yaml Export to yaml file
[[<-,expressionset-method Replace a rule in a ruleseta
indication-class Store results of evaluating indicators
lbj_cells-class Logging object to use with the lumberjack package
indicator-class Store a set of rich indicator expressions
validator Define validation rules for data
validator-class Store a set of rich validating rules.
lbj_rules-class Logging object to use with the lumberjack package
plot,validatorComparison-method Line graph of validatorComparison object,validatorComparison-method Translate a validatorComparison object to data frame
origin Origin of rules
plot,cellComparison-method Line graph of a cellComparison object. Coerce to data.frame
+,indicator,indicator-method Combine two indicator objects
summary Create a summary
[<-,expressionset-method Replace a subset of an expressionset with another expressionset
syntax Syntax to define validation or indicator rules
validate Data Validation Infrastructure
confront Confront data with a (set of) expressionset(s)
confrontation-class Superclass storing results of confronting data with rules
validation-class Store results of evaluating validating expressions
.PKGOPT Services for extending 'validate'
any,validation-method Test if any validation resulted in TRUE,cellComparison-method Translate cellComparison objects to data frame
length,expressionset-method Determine the number of elements in an object.
match_cells Create matching subsets of a sequence of data,confrontation-method Coerce a confrontation object to data frame
meta Get or set rule metadata,expressionset-method Translate an expressionset to data.frame
names<-,rule,character-method Extract or set names
%vin% A consistent set membership operator
cells Cell counts and differences for a series of datasets
barplot,validatorComparison-method Barplot of validatorComparison object
voptions Set or get options globally or per object.
indicator Define indicators for data
label Rule label
+,validator,validator-method Combine two validator objects
retailers data on Dutch supermarkets
rule-class A rich expression
[,expressionset-method Select a subset
values Get values from object
variables Get variable names
expressionset-class Superclass for storing a set of rich expressions.
No Results!

Vignettes of validate

No Results!

Last month downloads


License GPL-3
LazyData no
Type Package
LazyLoad yes
VignetteBuilder knitr
Collate 'rule.R' 'sugar.R' 'validate_pkg.R' 'parse.R' 'expressionset.R' 'indicator.R' 'validator.R' 'confrontation.R' 'barplot.R' 'compare.R' 'factory.R' 'functions.R' 'lumberjack.R' 'retailers.R' 'utils.R' 'yaml.R'
RoxygenNote 6.0.1
NeedsCompilation yes
Packaged 2018-08-01 08:43:49 UTC; mark
Repository CRAN
Date/Publication 2018-08-01 15:20:02 UTC

Include our badge in your README