chk_missingness: Audit for any missingness in columns.

Description Usage Arguments Value Examples

View source: R/number_value_checks.R

Description

Uses assertr::not_na().

Usage

1
chk_missingness(.data, .variables)

Arguments

.data

Data to audit.

.variables

Column variables to check.

Value

Adds attribute that contains the audit errors, if any, to the data. Use aud_report() to view the audit fails.

Examples

1
2
3
4
5
library(magrittr)
ds <- data.frame(a = c(1:4, NA, 6:10))
flaws <- ds %>%
chk_missingness("a")
aud_report(flaws)

lwjohnst86/PROMISE.audit documentation built on May 6, 2019, 9:54 a.m.