validate v0.9.2

0

Monthly downloads

0th

Percentile

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. See also Van der Loo and De Jonge (2018) <doi:10.1002/9781118897126>, chapter 6.

Functions in validate

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

Vignettes of validate

Name
indicators.Rmd
introduction.Rmd
rule_files.Rmd
No Results!

Last month downloads

Details

License GPL-3
LazyData no
Type Package
LazyLoad yes
URL https://github.com/data-cleaning/validate
BugReports https://github.com/data-cleaning/validate/issues
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' 'lumberjack.R' 'retailers.R' 'run_validation.R' 'syntax.R' 'utils.R' 'yaml.R'
RoxygenNote 6.1.1
Encoding UTF-8
NeedsCompilation yes
Packaged 2019-08-26 08:38:31 UTC; mark
Repository CRAN
Date/Publication 2019-08-28 11:40:08 UTC

Include our badge in your README

[![Rdoc](http://www.rdocumentation.org/badges/version/validate)](http://www.rdocumentation.org/packages/validate)