Skip to contents

get_empty() estimates the amount of cases with empty rows

Usage

get_empty(data)

Arguments

data

a data frame responses, where rows = observations, and columns = variables

Value

a table of missing, distinguishing missing by

Examples


data_with_countries %>%
dplyr::select(countries, item_001:item_050) %>%
split(.$countries) %>%
purrr::map( ~ get_empty(.)) %>%
dplyr::bind_rows(., .id = 'IDCNTRY')
#> Error in data_with_countries %>% dplyr::select(countries, item_001:item_050) %>%     split(.$countries) %>% purrr::map(~get_empty(.)) %>% dplyr::bind_rows(.,     .id = "IDCNTRY"): could not find function "%>%"