{
##### Example 1 -------------------------------------------------------------
# All columns have observation
get_all_na_cols(iris)
##### Example 2 -------------------------------------------------------------
# One column doesn't have any observations
library(dplyr)
get_all_na_cols(mutate(iris, new_col = NA))
}
Run the code above in your browser using DataLab