This function drops NA columns from a specified data frame.
drop_na_columns(data)
data | a |
---|
tibble
Other utility function:
get_class_df()
,
tidy_column_formats()
,
tidy_column_relations()
tibble(nameFirm = 'Goldman Sachs', countSuperHeros = NA, countCriminals = 0, countFinedEmployees = 10) %>% drop_na_columns()