Learn R Programming

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

validate (version 1.0.2)

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 and the JSS paper (2021) .

Copy Link

Version

Install

install.packages('validate')

Monthly Downloads

2,007

Version

1.0.2

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mark der Loo

Last Published

March 30th, 2021

Functions in validate (1.0.2)

as.data.frame,validatorComparison-method

Translate a validatorComparison object to data frame
all,validation-method

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

Translate cellComparison objects to data frame
add_indicators

Add indicator values as columns to a data frame
as.data.frame,confrontation-method

Coerce a confrontation object to data frame
as.data.frame,expressionset-method

Translate an expressionset to data.frame
as.data.frame

Coerce to data.frame
aggregate,validation-method

Aggregate validation results
any,validation-method

Test if any validation resulted in TRUE
barplot,cellComparison-method

Barplot of cellComparison object
cells

Cell counts and differences for a series of datasets
description

Rule description
created

Creation timestamp
check_that

Simple data validation interface
indicator-class

Store a set of rich indicator expressions
errors

Get messages from a confrontation object
do_by

split-apply-combine for vectors, with equal-length outptu
indication-class

Store results of evaluating indicators
export_yaml

Export to yaml file
compare

Compare similar data sets
confront

Confront data with a (set of) expressionset(s)
event

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

Check whether a variable represents a linear sequence
exists_any

Test for (unique) existence
expressionset-class

Superclass for storing a set of rich expressions.
barplot,validation-method

Plot number of violations
barplot,validatorComparison-method

Barplot of validatorComparison object
confrontation-class

Superclass storing results of confronting data with rules
keyset

Get key set stored with a confrontation
expr

Get expressions
label

Rule label
plot,cellComparison-method

Line graph of a cellComparison object.
syntax

Syntax to define validation or indicator rules
number_format

Check the layouts of numbers.
names<-,rule,character-method

Extract or set names
%vin%

A consistent set membership operator
part_whole_relation

Test whether details combine to a chosen aggregate
[<-,expressionset-method

Replace a subset of an expressionset with another expressionset
contains_exactly

Check records using a predifined table of (im)possible values
is_unique

Test for uniquenes of records
length,expressionset-method

Determine the number of elements in an object.
field_length

Check number of code points
lbj_rules-class

Logging object to use with the lumberjack package
lbj_cells-class

Logging object to use with the lumberjack package
rx

Label objects for interpretation as pattern
samplonomy

Economic data on Samplonia
voptions

Set or get options globally or per object.
run_validation_file

Run a file with confrontations. Capture results
occurs

Count how often a value of value combination occurs
rule-class

A rich expression
hierarchy

Check aggregates defined by a hierarchical code list
origin

Origin of rules
hb

Hiridoglu-Berthelot function
in_range

Check variable range
validator-class

Store a set of rich validating rules.
validator

Define validation rules for data
plot,validatorComparison-method

Line graph of validatorComparison object
field_format

Check whether a field conforms to a regular expression
is_complete

Test for completeness of records
nace_rev2

NACE classification code table
indicator

Define indicators for data
meta

Get or set rule metadata
plot,validator-method

Plot a validator object
plot,validation-method

Plot validaiton results
+,indicator,indicator-method

Combine two indicator objects
sort,validation-method

Aggregate and sort the results of a validation.
[[<-,expressionset-method

Replace a rule in a ruleseta
match_cells

Create matching subsets of a sequence of data
validate

Data Validation Infrastructure
variables

Get variable names
retailers

data on Dutch supermarkets
values

Get values from object
+,validator,validator-method

Combine two validator objects
summary

Create a summary
.PKGOPT

Services for extending 'validate'
satisfying

Select records (not) satisfying rules
[,expressionset-method

Select a subset
validation-class

Store results of evaluating validating expressions