We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create_rules type functions have specific requirements and specific forms
input:
create_rules_template(name = "create_rules_SOME_DATA", dir = "R")
output:
# in file R/create_rules_SOME_DATA.R create_rules_SOME_DATA <- function(){ ## each rule should be named after the column its validating rule1 <- validator( some_column = !is.na(some_column) ) ## make sure descriptions are concise and interpretable description(rule1) <- rep("Some description",length(rule1)) . . . ruleN <- validator( TEST_NO = field_format(TEST_NO, "\\d+" , type="regex") ) description(ruleN) <- rep("Some description",length(ruleN)) out <- list( rule1 = rule1, . . . ruleN = ruleN ) return(out) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
create_rules type functions have specific requirements and specific forms
input:
output:
The text was updated successfully, but these errors were encountered: