Learn R Programming

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

validate (version 1.0.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

2,255

Version

1.0.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mark der Loo

Last Published

December 8th, 2020

Functions in validate (1.0.1)

add_indicators

Add indicator values as columns to a 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
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,expressionset-method

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

Coerce to data.frame
barplot,cellComparison-method

Barplot of cellComparison object
barplot,validation-method

Plot number of violations
cells

Cell counts and differences for a series of datasets
created

Creation timestamp
description

Rule description
check_that

Simple data validation interface
errors

Get messages from a confrontation object
confront

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

Compare similar data sets
do_by

split-apply-combine for vectors, with equal-length outptu
export_yaml

Export to yaml file
expressionset-class

Superclass for storing a set of rich expressions.
field_format

Check whether a field conforms to a regular expression
expr

Get expressions
barplot,validatorComparison-method

Barplot of validatorComparison object
is_complete

Test for completeness of records
is_linear_sequence

Check whether a variable represents a linear sequence
indicator

Define indicators for data
indicator-class

Store a set of rich indicator expressions
indication-class

Store results of evaluating indicators
event

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

Superclass storing results of confronting data with rules
contains_exactly

Check records using a predifined table of (im)possible values
lbj_cells-class

Logging object to use with the lumberjack package
hb

Hiridoglu-Berthelot function
field_length

Check number of code points
lbj_rules-class

Logging object to use with the lumberjack package
in_range

Check variable range
hierarchy

Check aggregates defined by a hierarchical code list
length,expressionset-method

Determine the number of elements in an object.
plot,validator-method

Plot a validator object
run_validation_file

Run a file with confrontations. Capture results
is_unique

Test for uniquenes of records
rx

Label objects for interpretation as pattern
nace_rev2

NACE classification code table
meta

Get or set rule metadata
retailers

data on Dutch supermarkets
plot,validatorComparison-method

Line graph of validatorComparison object
number_format

Check the layouts of numbers.
+,indicator,indicator-method

Combine two indicator objects
names<-,rule,character-method

Extract or set names
[[<-,expressionset-method

Replace a rule in a ruleseta
exists_any

Test for (unique) existence
keyset

Get key set stored with a confrontation
voptions

Set or get options globally or per object.
validate

Data Validation Infrastructure
.PKGOPT

Services for extending 'validate'
rule-class

A rich expression
match_cells

Create matching subsets of a sequence of data
variables

Get variable names
%vin%

A consistent set membership operator
[<-,expressionset-method

Replace a subset of an expressionset with another expressionset
+,validator,validator-method

Combine two validator objects
samplonomy

Economic data on Samplonia
[,expressionset-method

Select a subset
label

Rule label
satisfying

Select records (not) satisfying rules
validator-class

Store a set of rich validating rules.
validation-class

Store results of evaluating validating expressions
sort,validation-method

Aggregate and sort the results of a validation.
values

Get values from object
validator

Define validation rules for data
origin

Origin of rules
plot,cellComparison-method

Line graph of a cellComparison object.
part_whole_relation

Test whether details combine to a chosen aggregate
summary

Create a summary
plot,validation-method

Plot validaiton results
syntax

Syntax to define validation or indicator rules