Description Usage Arguments Value Examples
View source: R/number_value_checks.R
Uses the assertr::in_set()
function.
1 | chk_in_set(.data, .values, .variables)
|
.data |
Data to audit. |
.values |
The integer values. |
.variables |
Column variables to check. |
Adds attribute that contains the audit errors, if any, to the data.
Use aud_report()
to view the audit fails.
1 2 3 4 5 6 | library(magrittr)
ds <- data.frame(a = 1:3)
flaws <- ds %>%
chk_in_set(1:2, "a")
aud_report(flaws)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.