remove columns by the ratio of NA
remove_nacol(df, max_ratio = 1)
df
tibble
max_ratio
the max NA ratio to keep this column, default is 1 have NA
# remove_nacol(df)