count_na count the number of NA in a vector

count_na(x)

Arguments

x

a vector

Value

a tibble

Examples

library("readxl") read_excel( path = system.file( "extdata", "panorama.xlsx", package = "tricky") ) %>% set_standard_names() %>% .$ministere_porteur %>% count_na()
#> # A tibble: 1 x 2 #> f n #> <fct> <int> #> 1 FALSE 57