detect_na: Detect NA

Description Usage Arguments Value Examples

Description

Detect NA takes a tibble and return the number and share of missing values for each variable

Usage

1

Arguments

table

name of the input variable

Value

a tibble with 3 columns (variable, n_missing, share_missing)

Examples

1
2
3
4
5
6
7
8
9
library("readxl")
read_excel(
path = system.file(
"extdata",
"panorama.xlsx",
package = "tricky")
) %>%
set_standard_names() %>%
detect_na()

pachevalier/tricky documentation built on May 24, 2019, 5:57 p.m.