knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of validatesuggest is to generate suggestions for validation rules from a supplied dataset. These can be used as a starting point for a rule set and are to be adjusted by domain experts.
And the development version from GitHub with:
# install.packages("devtools") devtools::install_github("data-cleaning/validatesuggest")
library(validate) library(validatesuggest) data(retailers, package="validate") data(SBS2000, package="validate") # does all #suggest_rules(retailers) suggest_pos_check(retailers) suggest_range_check(retailers, min=TRUE, max=TRUE) suggest_na_check(retailers) suggest_unique_check(SBS2000) suggest_type_check(retailers) suggest_ratio_check(retailers) write_cond_rule(car_owner)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.