{
##### Example 1 -------------------------------------------------------------
# All rows have observation
get_all_na_rows(iris)
##### Example 2 -------------------------------------------------------------
# One row doesn't have any observations
library(dplyr)
get_all_na_rows(bind_rows(iris, tibble(Species = c(NA,NA))))
get_all_na_rows(
tbl = bind_rows(iris, tibble(Species = c('id_151', 'id_152'))),
id_col = 'Species')
}
Run the code above in your browser using DataLab