read.rules: Reads a file containing rules in data dictionary format.

Description Usage Arguments Details Value Author(s) See Also

Description

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

Usage

1

Arguments

file

R file with conditions

Details

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.

Value

The results as a datadict object or NA for 'empty' rules file

Author(s)

Reinhard Simon

See Also

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



Search within the datacheck package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

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

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