validate: 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.

Install the latest version of this package by entering the following in R:
install.packages("validate")
AuthorMark van der Loo [cre, aut], Edwin de Jonge [aut], Paul Hsieh [ctb]
Date of publication2017-04-07 22:54:33 UTC
MaintainerMark van der Loo <mark.vanderloo@gmail.com>
LicenseGPL-3
Version0.1.7
https://github.com/data-cleaning/validate

View on CRAN

Man pages

aggregate-validation-method: Aggregate validation results

barplot-validation-method: Plot number of violations

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

created: Creation timestamp

created-set: Set creation timestamp

created-set-expressionset-POSIXct-method: Set timestamps

created-set-rule-POSIXct-method: Set creation timestamp

description: description description

description-set: Set description

description-set-expressionset-character-method: Set descriptions

description-set-rule-character-method: Set description

errors: Get messages from a confrontation object

export_yaml: Export to yaml file

expr: Get expressions

expressionset-class: Superclass for storing a set of rich expressions.

indication-class: Store results of evaluating indicators

indicator: Define indicators for data

indicator-class: Store a set of rich indicator expressions

label: label description of rules

label-set: Set label

label-set-expressionset-character-method: Set labels

label-set-rule-character-method: Set label

length: Get object lenght

match_cells: Create matching subsets of a sequence of data

names-expressionset-method: Extract names

names-set-expressionset-character-method: Set names

names-set-rule-character-method: Set names

nofun: Missingness counters (DEPRECATED)

origin: Origin of rules

origin-set: Set origin

origin-set-expressionset-character-method: Set origins

origin-set-rule-character-method: Set origin

retailers: data on retailers

rule-class: A rich expression

select: Select a subset

sort-validation-method: Aggregate and sort the results of a validation.

syntax: Syntax to define validation or indicator rules

validate: Data Validation Infrastructure

validate_extend: Services for extending 'validate'

validate-summary: Create a summary

validation-class: Store results of evaluating validating expressions

validator: Define validation rules for data

validator-class: Store a set of rich validating rules.

values: Get values from object

variables: Extract variable names

voptions: Set or get options globally or per object.

Functions

aggregate,validation-method Man page
any_duplicated Man page
any_missing Man page
as_yaml Man page
as_yaml,expressionset-method Man page
barplot,validation-method Man page
.blocks_expressionset Man page
cells Man page
check_that Man page
col_missing Man page
compare Man page
compare,indicator-method Man page
compare,validator-method Man page
confront Man page
confrontation Man page
confrontation-class Man page
[,confrontation-method Man page
confront,data.frame,indicator,ANY-method Man page
confront,data.frame,validator,ANY-method Man page
confront,data.frame,validator,data.frame-method Man page
confront,data.frame,validator,environment-method Man page
confront,data.frame,validator,list-method Man page
created Man page
created<- Man page
created,expressionset-method Man page
created<-,expressionset,POSIXct-method Man page
created,rule-method Man page
created<-,rule,POSIXct-method Man page
description Man page
description<- Man page
description<-,expressionset,character-method Man page
description,expressionset-method Man page
description<-,rule,character-method Man page
description,rule-method Man page
errors Man page
errors,confrontation-method Man page
export_yaml Man page
export_yaml,expressionset-method Man page
expr Man page
expressionset Man page
expressionset-class Man page
[,expressionset-method Man page
[[,expressionset-method Man page
expr,rule-method Man page
fraction_missing Man page
.get_exprs Man page
indication Man page
indication-class Man page
indicator Man page
indicator-class Man page
.ini_expressionset_cli Man page
.ini_expressionset_yml Man page
label Man page
label<- Man page
label<-,expressionset,character-method Man page
label,expressionset-method Man page
label<-,rule,character-method Man page
label,rule-method Man page
length Man page
length,confrontation-method Man page
length,expressionset-method Man page
match_cells Man page
names<-,expressionset,character-method Man page
names,expressionset-method Man page
names<-,rule,character-method Man page
number_missing Man page
number_unique Man page
origin Man page
origin<- Man page
origin<-,expressionset,character-method Man page
origin,expressionset-method Man page
origin<-,rule,character-method Man page
origin,rule-method Man page
package-validate Man page
.PKGOPT Man page
reset Man page
reset,ANY-method Man page
reset,expressionset-method Man page
retailers Man page
row_missing Man page
rule Man page
rule-class Man page
.show_expressionset Man page
sort,validation-method Man page
summary Man page
summary,expressionset-method Man page
summary,indication-method Man page
summary,validation-method Man page
syntax Man page
validate Man page
validate-length Man page
validate_options Man page
validate-package Man page
validate-summary Man page
validation Man page
validation-class Man page
validator Man page
validator-class Man page
values Man page
values,confrontation-method Man page
values,indication-method Man page
values,validation-method Man page
variables Man page
variables,data.frame-method Man page
variables,environment-method Man page
variables,expressionset-method Man page
variables,list-method Man page
variables,rule-method Man page
voptions Man page
voptions,ANY-method Man page
voptions,expressionset-method Man page
warnings,confrontation-method Man page

Files

inst
inst/doc
inst/doc/rule-files.Rmd
inst/doc/rule-files.html
inst/doc/intro.html
inst/doc/intro.R
inst/doc/intro.Rmd
inst/doc/rule-files.R
tests
tests/testthat.R
tests/testthat
tests/testthat/testParse.R
tests/testthat/pocdata
tests/testthat/pocdata/Rule_13_invalid.csv
tests/testthat/pocdata/Rule_11_valid2.csv
tests/testthat/pocdata/Rule_11_valid1.csv
tests/testthat/pocdata/Rule_18_expected.md
tests/testthat/pocdata/Rule_10_invalid2.csv
tests/testthat/pocdata/Rule_18PERSONS_invalid.csv
tests/testthat/pocdata/Rule_08PERSON.csv
tests/testthat/pocdata/Rule_17PERSONS.csv
tests/testthat/pocdata/Rule_03_invalid.csv
tests/testthat/pocdata/Rule_08HH.csv
tests/testthat/pocdata/Rule_18HOUSEHOLDS.csv
tests/testthat/pocdata/Rule_05.csv
tests/testthat/pocdata/Rule_15_expected.md
tests/testthat/pocdata/Rule_10_invalid1.csv
tests/testthat/pocdata/Rule_04.csv
tests/testthat/pocdata/Rule_02.csv
tests/testthat/pocdata/Rule_17HOUSEHOLDS.csv
tests/testthat/pocdata/Rule_09_invalid.csv
tests/testthat/pocdata/Rule_16_invalid.csv
tests/testthat/pocdata/Rule_12_valid.csv
tests/testthat/pocdata/Rule_17_expected.md
tests/testthat/pocdata/Rule_12_invalid1.csv
tests/testthat/pocdata/Rule_15.csv
tests/testthat/pocdata/Rule_12_invalid2.csv
tests/testthat/pocdata/Rule_03_valid.csv
tests/testthat/pocdata/Rule_14_valid.csv
tests/testthat/pocdata/Rule_10_valid.csv
tests/testthat/pocdata/Rule_16_valid.csv
tests/testthat/pocdata/Rule_06.csv
tests/testthat/pocdata/Rule_11_invalid2.csv
tests/testthat/pocdata/Rule_14_invalid.csv
tests/testthat/pocdata/Rule_07.csv
tests/testthat/pocdata/Rule_13_valid.csv
tests/testthat/pocdata/Rule_09_valid.csv
tests/testthat/pocdata/Rule_18PERSONS_valid.csv
tests/testthat/pocdata/Rule_11_invalid1.csv
tests/testthat/pocdata/Rule_01.csv
tests/testthat/pocdata/Rule_09_undecided.csv
tests/testthat/pocdata/Rule_03_invalid_with_missings.csv
tests/testthat/pocdata/Rule_11_undecided.csv
tests/testthat/testLinCoef.R tests/testthat/testConfrontation.R tests/testthat/testUtils.R tests/testthat/testSyntax.R tests/testthat/testValidate.R
tests/testthat/yamltests
tests/testthat/yamltests/invalidR.yaml
tests/testthat/yamltests/invalid.yaml
tests/testthat/yamltests/yamlrules.yaml
tests/testthat/yamltests/yamloptions.yaml
tests/testthat/yamltests/child3.yaml
tests/testthat/yamltests/child2.yaml
tests/testthat/yamltests/freeform.yaml
tests/testthat/yamltests/child1.yaml
tests/testthat/yamltests/top.yaml
tests/testthat/testMethods.R tests/testthat/testPoC.R
tests/testthat/pocrules
tests/testthat/pocrules/rule_17.txt
tests/testthat/pocrules/rule_12.txt
tests/testthat/pocrules/rule_16.txt
tests/testthat/pocrules/rule_14.txt
tests/testthat/pocrules/rule_05.txt
tests/testthat/pocrules/rule_13.txt
tests/testthat/pocrules/rule_04.txt
tests/testthat/pocrules/rule_10.txt
tests/testthat/pocrules/rule_06.txt
tests/testthat/pocrules/rule_08.txt
tests/testthat/pocrules/rule_11.txt
tests/testthat/pocrules/rule_07.txt
tests/testthat/pocrules/rule_01.txt
tests/testthat/pocrules/rule_09.txt
tests/testthat/pocrules/rule_02.txt
tests/testthat/pocrules/rule_03.txt
tests/testthat/pocrules/rule_15.txt
tests/testthat/pocrules/rule_18.txt
tests/testthat/testOptions.R tests/testthat/testValidator.R
src
src/R_fdep.c
src/R_register_native.c
src/sfh.h
src/sfh.c
NAMESPACE
NEWS
data
data/retailers.csv.gz
R
R/factory.R R/rule.R R/expressionset.R R/utils.R R/sugar.R R/retailers.R R/validate_pkg.R R/confrontation.R R/functions.R R/indicator.R R/yaml.R R/barplot.R R/parse.R R/compare.R R/validator.R
vignettes
vignettes/rule-files.Rmd
vignettes/intro.Rmd
MD5
build
build/vignette.rds
DESCRIPTION
man
man/description-set-expressionset-character-method.Rd man/created-set.Rd man/description.Rd man/sort-validation-method.Rd man/aggregate-validation-method.Rd man/created-set-rule-POSIXct-method.Rd man/names-expressionset-method.Rd man/origin.Rd man/names-set-rule-character-method.Rd man/label-set-rule-character-method.Rd man/created-set-expressionset-POSIXct-method.Rd man/validation-class.Rd man/origin-set.Rd man/match_cells.Rd man/nofun.Rd man/indicator.Rd man/voptions.Rd man/errors.Rd man/validate.Rd man/confrontation-class.Rd man/rule-class.Rd man/values.Rd man/description-set.Rd man/indicator-class.Rd man/expr.Rd man/barplot-validation-method.Rd man/validator.Rd man/length.Rd man/variables.Rd man/names-set-expressionset-character-method.Rd man/check_that.Rd man/expressionset-class.Rd man/export_yaml.Rd man/cells.Rd man/created.Rd man/description-set-rule-character-method.Rd man/compare.Rd man/validator-class.Rd man/label.Rd man/label-set-expressionset-character-method.Rd man/validate-summary.Rd man/syntax.Rd man/validate_extend.Rd man/origin-set-rule-character-method.Rd man/origin-set-expressionset-character-method.Rd man/indication-class.Rd man/label-set.Rd man/retailers.Rd man/confront.Rd man/select.Rd

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.