ngr_tidy_cols_rm_na
removes all columns from a data.frame where every value is NA
. This can be particularly
helper when attempting to join data.frames due to type conflicts that occur due to columns with only NA
values.
Arguments
- df
A data.frame. The input data frame to be cleaned.
Value
A data.frame with columns containing only NA
values removed.
See also
Other tidy:
ngr_tidy_cols_type_compare()