Learn R Programming

⚠️There's a newer version (1.1.5) of this package.Take me there.

validate (version 0.9.1)

Data Validation Infrastructure

Description

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) , chapter 6.

Copy Link

Version

Install

install.packages('validate')

Monthly Downloads

1,916

Version

0.9.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mark der Loo

Last Published

August 23rd, 2019

Functions in validate (0.9.1)

errors

Get messages from a confrontation object
event

Get or set event information metadata from a 'confrontation' object.
is_unique

Test for uniquenes of records
compare

Compare similar data sets
is_complete

Test for completeness of records
indication-class

Store results of evaluating indicators
expressionset-class

Superclass for storing a set of rich expressions.
check_that

Simple data validation interface
confront

Confront data with a (set of) expressionset(s)
confrontation-class

Superclass storing results of confronting data with rules
keyset

Get key set stored with a confrontation
label

Rule label
expr

Get expressions
export_yaml

Export to yaml file
created

Creation timestamp
barplot,validatorComparison-method

Barplot of validatorComparison object
barplot,validation-method

Plot number of violations
[[<-,expressionset-method

Replace a rule in a ruleseta
plot,validation-method

Plot a validation object
plot,validator-method

Plot a validator object
[<-,expressionset-method

Replace a subset of an expressionset with another expressionset
indicator-class

Store a set of rich indicator expressions
lbj_cells-class

Logging object to use with the lumberjack package
description

Rule description
indicator

Define indicators for data
run_validation_file

Run a file with confrontations. Capture results
plot,cellComparison-method

Line graph of a cellComparison object.
rule-class

A rich expression
origin

Origin of rules
lbj_rules-class

Logging object to use with the lumberjack package
plot,validatorComparison-method

Line graph of validatorComparison object
validator

Define validation rules for data
values

Get values from object
+,indicator,indicator-method

Combine two indicator objects
validation-class

Store results of evaluating validating expressions
[,expressionset-method

Select a subset
sort,validation-method

Aggregate and sort the results of a validation.
%vin%

A consistent set membership operator
variables

Get variable names
validator-class

Store a set of rich validating rules.
meta

Get or set rule metadata
cells

Cell counts and differences for a series of datasets
names<-,rule,character-method

Extract or set names
syntax

Syntax to define validation or indicator rules
summary

Create a summary
+,validator,validator-method

Combine two validator objects
retailers

data on Dutch supermarkets
voptions

Set or get options globally or per object.
length,expressionset-method

Determine the number of elements in an object.
match_cells

Create matching subsets of a sequence of data
validate

Data Validation Infrastructure
.PKGOPT

Services for extending 'validate'
as.data.frame,expressionset-method

Translate an expressionset to data.frame
as.data.frame,cellComparison-method

Translate cellComparison objects to data frame
all,validation-method

Test if all validations resulted in TRUE
as.data.frame,confrontation-method

Coerce a confrontation object to data frame
barplot,cellComparison-method

Barplot of cellComparison object
aggregate,validation-method

Aggregate validation results
any,validation-method

Test if any validation resulted in TRUE
as.data.frame,validatorComparison-method

Translate a validatorComparison object to data frame
as.data.frame

Coerce to data.frame