testColumnsCosistency: Test data.frame based on some conditions

Usage Arguments Value Examples

Usage

1

Arguments

data

data.frame

conditions

character.vector "filter_ like" conditions, e.g. "Sepal.Length > 0"

Value

the same data.frame or raise error (what conditions were not met)

Examples

1
2
3
testColumnsCosistency(iris, "Sepal.Length > 0")
iris$Sepal.Length[5:10] = NA
testColumnsCosistency(iris, "is.na(Sepal.Length)")

filipcyprowski/GetProcessVisualise documentation built on May 26, 2019, 6:34 a.m.