Evaluate a set of names against a controlled vocabulary

evaluate_convo(convo, vbl_names, sep = "_")

Arguments

convo

Controlled vocabulary object or list of stub names by level

vbl_names

Names to evaluate

sep

Character delimiting separation betwene levels of vocabulary

Value

Returns convo object (list) of violating names by level

Examples

convo <- list(c("ind"), letters[1:3], c("pre", "post")) vbl_names <- c("ind_a", "ind_d", "amt_c", "cat_c_pre", "cat_c_post") evaluate_convo(convo, vbl_names)
#> Level 1 #> - amt_c #> - cat_c_pre #> - cat_c_post #> Level 2 #> - ind_d #> Level 3 #> -