Description Usage Arguments Value Author(s) See Also Examples
Quick check if a rule profile on a table has any errors.
1 | has_rule_errors(profile_rules)
|
profile_rules |
a data.profile object |
boolean
Reinhard Simon
Other datadict: as.rules
;
as_rules
; datadict.profile
;
datadict_profile
;
has.ruleErrors
;
is.datadict.profile
;
is_datadict_profile
;
prep4rep
; read.rules
;
read_rules
1 2 3 4 5 6 7 8 9 10 | # Get example data file with some errors in it
atbler <- system.file("examples/db-err.csv", package = "datacheck")
arule <- system.file("examples/rules1.R", package = "datacheck")
at <- read.csv(atbler, stringsAsFactors = FALSE)
ad <- read_rules(arule)
db_e <- datadict_profile(at, ad)
has_rule_errors(db_e) == TRUE
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.