Generate agent object for validation of controlled vocabulary conditions for a data set

create_pb_agent(convo, tbl, level = 1)

Arguments

convo

convo object read from YAML

tbl

The input table passed to pointblank::create_agent()

level

Numeric. Level of controlled vocabulary containing validation checks

Value

pointblank agent for validation pipeline

Examples

filepath <- system.file("", "ex-convo.yml", package = "convo") convo <- read_convo(filepath) agent <- create_pb_agent(convo, data.frame(IND_A = 1, IND_B = 5, DT_B = as.Date("2020-01-01")))