validate1.1.5 package

Data Validation Infrastructure

add_indicators

Add indicator values as columns to a data frame

aggregate-validation-method

Aggregate validation results

all-validation-method

Test if all validations resulted in TRUE

any-validation-method

Test if any validation resulted in TRUE

as.data.frame-cellComparison-method

Translate cellComparison objects to 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-validatorComparison-method

Translate a validatorComparison object to data frame

as.data.frame

Coerce to data.frame

barplot-cellComparison-method

Barplot of cellComparison object

barplot-validation-method

Plot number of violations

barplot-validatorComparison-method

Barplot of validatorComparison object

cells

Cell counts and differences for a series of datasets

check_that

Simple data validation interface

compare

Compare similar data sets

confront

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

confrontation-class

Superclass storing results of confronting data with rules

contains_exactly

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

created

Creation timestamp

description

Rule description

do_by

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

errors

Get messages from a confrontation object

event

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

exists_any

Test for (unique) existence

export_yaml

Export to yaml file

expr

Get expressions

expressionset-class

Superclass for storing a set of rich expressions.

field_format

Check whether a field conforms to a regular expression

field_length

Check number of code points

hb

Hiridoglu-Berthelot function

hierarchy

Check aggregates defined by a hierarchical code list

in_range

Check variable range

indication-class

Store results of evaluating indicators

indicator-class

Store a set of rich indicator expressions

indicator

Define indicators for data

is_complete

Test for completeness of records

is_linear_sequence

Check whether a variable represents a linear sequence

is_unique

Test for uniquenes of records

keyset

Get key set stored with a confrontation

label

Rule label

lbj_cells-class

Logging object to use with the lumberjack package

lbj_rules-class

Logging object to use with the lumberjack package

length

Determine the number of elements in an object.

match_cells

Create matching subsets of a sequence of data

meta

Get or set rule metadata

nace_rev2

NACE classification code table

names

Extract or set names

number_format

Check the layouts of numbers.

origin

Origin of rules

part_whole_relation

Test whether details combine to a chosen aggregate

plot-cellComparison-method

Line graph of a cellComparison object.

plot-validation-method

Plot validation results

plot-validator-method

Plot a validator object

plot-validatorComparison-method

Line graph of validatorComparison object

plus-indicator-indicator-method

Combine two indicator objects

plus-validator-validator-method

Combine two validator objects

retailers

data on Dutch supermarkets

rule-class

A rich expression

run_validation_file

Run a file with confrontations. Capture results

rx

Label objects for interpretation as pattern

satisfying

Select records (not) satisfying rules

sdmx_codelist

Get code list from an SDMX REST API endpoint.

sdmx_endpoint

Get URL for known SDMX registry endpoints

select

Select a subset

sort-validation-method

Aggregate and sort the results of a validation.

sub-subset-expressionset-method

Replace a rule in a ruleseta

subset-expressionset-method

Replace a subset of an expressionset with another expressionset

syntax

Syntax to define validation or indicator rules

validate-summary

Create a summary

validate

Data Validation Infrastructure

validate_extend

Services for extending 'validate'

validation-class

Store results of evaluating validating expressions

validator-class

Store a set of rich validating rules.

validator

Define validation rules for data

validator_from_dsd

Extract a rule set from an SDMX DSD file

values

Get values from object

variables

Get variable names

vin

A consistent set membership operator

voptions

Set or get options globally or per object.

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. Supports checks implied by an SDMX DSD file as well. See also Van der Loo and De Jonge (2018) <doi:10.1002/9781118897126>, Chapter 6 and the JSS paper (2021) <doi:10.18637/jss.v097.i10>.

  • Maintainer: Mark van der Loo
  • License: GPL-3
  • Last published: 2024-02-14