write_na_check | R Documentation |
Suggest a check for completeness.
write_na_check(d, vars = names(d), file = stdout())
suggest_na_check(d, vars = names(d))
d |
|
vars |
|
file |
file to which the checks will be written to. |
suggest_na_check
returns validate::validator()
object with the suggested rules.
write_na_check
write the rules to file and returns invisibly a named list of ranges for each variable.
data(retailers, package="validate")
# will generate check for all columns in retailers that are
# complete.
suggest_na_check(retailers)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.