Code
`Indices_detailles_12_2019` %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
Data - INSEE
`Indices_detailles_12_2019` %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
`Indices_detailles_12_2019` %>%
arrange(-poids) %>%
mutate(poids = paste0(round(poids/100, 1), "%")) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
`Indices_detailles_12_2019` %>%
arrange(-poids) %>%
mutate(poids = paste0(round(poids/100, 1), "%")) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
`Indices_detailles_12_2019` %>%
filter(substr(secteur, 1, 2) == "04") %>%
mutate(poids = paste0(round(poids/100, 1), "%")) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {
`Indices_detailles_12_2019` %>%
filter(nchar(secteur) == 2) %>%
arrange(-poids) %>%
mutate(poids = paste0(round(poids/100, 1), "%")) %>%
if (is_html_output()) print_table(.) else .} {
secteur | Secteur | poids |
---|---|---|
00 | ENSEMBLE | 100% |
07 | TRANSPORTS | 15.5% |
01 | PROD. ALIM. ET BOISSONS NON ALCOOLISEES | 14.3% |
04 | LOG., EAU, GAZ, ÉLEC. ET AUT COMB. | 14% |
12 | BIENS ET SERVICES DIVERS | 13.4% |
06 | SANTE | 10.5% |
09 | LOISIRS ET CULTURE | 8.6% |
11 | RESTAURANTS ET HÔTELS | 8% |
05 | MEUB., ART. MEN. ET ENTRETIEN DU FOYER | 5.2% |
03 | ARTICLE D'HABILLEMENT ET CHAUSSURES | 4.1% |
02 | BOISSONS ALCOOL., TABAC ET STUPÉFIANTS | 3.8% |
08 | COMMUNICATIONS | 2.6% |
10 | ENSEIGNEMENT | 0% |