clean_table | R Documentation |
Remove columns filled only with NA (missing value)
clean_table(df)
df |
the dataframe to be cleaned |
a dataframe without columns containing only NA
library(tidyverse) idbank_empl = get_idbank_list("EMPLOI-SALARIE-TRIM-NATIONAL") %>% #employment mutate(title = get_insee_title(idbank)) %>% separate(title, sep = " - ", into = paste0("title", 1:5), fill = "right") %>% clean_table()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.