as.rules: Converts a vector of lines into a rules data frame

Description Usage Arguments Details Value Author(s) See Also

View source: R/datacheck.R


The rules must be one per line and should evaluate to a vector of TRUE or FALSE.





R statements with conditions


A rule must only refer to one 'column' name. Rule statements may not have assignment operators (= or <-). Rules may be separated by empty or commented lines. A comment after a rule is used to document the specific rule in the summary table.


The results as a datadict object or NA for 'empty' rule lines


Reinhard Simon

See Also

Other datadict: as_rules; datadict.profile; datadict_profile; has.ruleErrors; has_rule_errors; is.datadict.profile; is_datadict_profile; prep4rep; read.rules; read_rules

datacheck documentation built on May 19, 2017, 3:47 p.m.
Search within the datacheck package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.