Generate YAML for pointblank validation agent from convo
write_pb( convo, col_names, level = 1, filename = "convo-validation.yml", path = "." )
convo |
|
---|---|
col_names | Character vector of column names |
level | Numeric. Level of controlled vocabulary containing validation checks |
filename | Name of YAML file to create |
path | Optional path to directory in which YAML file should be created |
Does not return. Call function for side-effect of writing file.
if (FALSE) { filepath <- system.file("", "ex-convo.yml", package = "convo") convo <- read_convo(filepath) write_pb(convo, c("IND_A", "AMT_B"), filename = "convo-validation.yml", path = ".") }