| lse_synthetic_rules | R Documentation |
Accounting, additional edit, and combined validation rules for
lse_synthetic. The rules are stored as plain data frames of rule text so
that the data set does not depend on the validate package; build the
corresponding validate::validator objects with
validate::validator(.data = lse_synthetic_rules$edit) before passing them
to vimpute(method = "restricted").
A named list with three data frames: accounting (36 rules),
extra (56 rules), and edit (92 rules, the combination of both). Each
has the columns
rule name (V01, V02, ...)
the rule as R code, as accepted by validate::validator(.data = )
data(lse_synthetic_rules)
names(lse_synthetic_rules)
head(lse_synthetic_rules$edit)
if (requireNamespace("validate", quietly = TRUE)) {
edit_rules <- validate::validator(.data = lse_synthetic_rules$edit)
length(edit_rules)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.