isThisDFOk: Create check function

Description Usage Arguments Value Examples

Description

this function create checker functions (it's mostly for readability)

Usage

1
isThisDFOk(schema)

Arguments

schema

schema you want ot compare to

df

data.frame you want to check

Value

function

Examples

1
2
3
df = data.frame(foo = "x", bar = "y")
isFooBar = isThisDFOk(schema_example)
isFooBar(df)

fcyprowski/schemar documentation built on July 15, 2020, 1:03 p.m.