Code
tibble(LAST_DOWNLOAD = as.Date(file.info("~/Library/Mobile\ Documents/com~apple~CloudDocs/website/data/eurostat/edat_lfs_9903.RData")$mtime)) %>%
print_table_conditional()
LAST_DOWNLOAD |
---|
2024-11-05 |
Data - Eurostat
tibble(LAST_DOWNLOAD = as.Date(file.info("~/Library/Mobile\ Documents/com~apple~CloudDocs/website/data/eurostat/edat_lfs_9903.RData")$mtime)) %>%
print_table_conditional()
LAST_DOWNLOAD |
---|
2024-11-05 |
LAST_COMPILE |
---|
2024-11-05 |
%>%
edat_lfs_9903 group_by(time) %>%
summarise(Nobs = n()) %>%
arrange(desc(time)) %>%
head(1) %>%
print_table_conditional()
time | Nobs |
---|---|
2023 | 15750 |
%>%
edat_lfs_9903 left_join(unit, by = "unit") %>%
group_by(unit, Unit) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
print_table_conditional()
unit | Unit | Nobs |
---|---|---|
PC | Percentage | 242934 |
%>%
edat_lfs_9903 left_join(sex, by = "sex") %>%
group_by(sex, Sex) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
print_table_conditional()
sex | Sex | Nobs |
---|---|---|
F | Females | 80978 |
M | Males | 80978 |
T | Total | 80978 |
%>%
edat_lfs_9903 left_join(age, by = "age") %>%
group_by(age, Age) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
print_table_conditional()
age | Age | Nobs |
---|---|---|
Y15-19 | From 15 to 19 years | 10770 |
Y15-24 | From 15 to 24 years | 10770 |
Y15-29 | From 15 to 29 years | 10770 |
Y18-24 | From 18 to 24 years | 10770 |
Y20-24 | From 20 to 24 years | 10770 |
Y20-29 | From 20 to 29 years | 10770 |
Y25-29 | From 25 to 29 years | 10770 |
Y25-34 | From 25 to 34 years | 10770 |
Y15-64 | From 15 to 64 years | 9222 |
Y15-69 | From 15 to 69 years | 9222 |
Y15-74 | From 15 to 74 years | 9222 |
Y18-64 | From 18 to 64 years | 9222 |
Y18-69 | From 18 to 69 years | 9222 |
Y18-74 | From 18 to 74 years | 9222 |
Y25-54 | From 25 to 54 years | 9222 |
Y25-64 | From 25 to 64 years | 9222 |
Y25-69 | From 25 to 69 years | 9222 |
Y25-74 | From 25 to 74 years | 9222 |
Y30-54 | From 30 to 54 years | 9222 |
Y35-44 | From 35 to 44 years | 9222 |
Y35-54 | From 35 to 54 years | 9222 |
Y45-54 | From 45 to 54 years | 9222 |
Y55-64 | From 55 to 64 years | 9222 |
Y55-69 | From 55 to 69 years | 9222 |
Y55-74 | From 55 to 74 years | 9222 |
load_data("eurostat/isced11_fr.RData")
%>%
edat_lfs_9903 left_join(isced11, by = "isced11") %>%
group_by(isced11, Isced11) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
print_table_conditional()
isced11 | Isced11 | Nobs |
---|---|---|
ED0-2 | Inférieur à l'enseignement primaire, enseignement primaire et premier cycle de l'enseignement secondaire (niveaux 0-2) | 53700 |
ED3-8 | Deuxième cycle de l'enseignement secondaire, enseignement post-secondaire non-supérieur et enseignement supérieur (niveaux 3-8) | 53700 |
ED3_4 | Deuxième cycle de l'enseignement secondaire et enseignement post-secondaire non-supérieur (niveaux 3 et 4) | 53700 |
ED5-8 | Enseignement supérieur (niveaux 5-8) | 53700 |
ED3_4GEN | Deuxième cycle de l'enseignement secondaire et enseignement post-secondaire non-supérieur (niveaux 3 et 4) - général | 14067 |
ED3_4VOC | Deuxième cycle de l'enseignement secondaire et enseignement post-secondaire non-supérieur (niveaux 3 et 4) - professionnel | 14067 |
%>%
edat_lfs_9903 left_join(geo, by = "geo") %>%
group_by(geo, Geo) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
mutate(Geo = ifelse(geo == "DE", "Germany", Geo)) %>%
mutate(Flag = gsub(" ", "-", str_to_lower(Geo)),
Flag = paste0('<img src="../../icon/flag/vsmall/', Flag, '.png" alt="Flag">')) %>%
select(Flag, everything()) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F, escape = F) else .} {
%>%
edat_lfs_9903 group_by(time) %>%
summarise(Nobs = n()) %>%
arrange(desc(time)) %>%
print_table_conditional()
time | Nobs |
---|---|
2023 | 15750 |
2022 | 15750 |
2021 | 15750 |
2020 | 12528 |
2019 | 12876 |
2018 | 12876 |
2017 | 12876 |
2016 | 12876 |
2015 | 12876 |
2014 | 12876 |
2013 | 11100 |
2012 | 11100 |
2011 | 11100 |
2010 | 10800 |
2009 | 10500 |
2008 | 10500 |
2007 | 10500 |
2006 | 10500 |
2005 | 9900 |
2004 | 9900 |
%>%
edat_lfs_9903 filter(isced11 == "ED0-2",
== "Y15-74",
age %in% c("EA19", "DE", "ES", "FR", "IT"),
geo == "T") %>%
sex select_if(~ n_distinct(.) > 1) %>%
year_to_date() %>%
filter(date >= as.Date("1995-01-01")) %>%
left_join(geo, by = "geo") %>%
mutate(Geo = ifelse(geo == "DE", "Germany", Geo)) %>%
mutate(Geo = ifelse(geo == "EA19", "Europe", Geo)) %>%
left_join(colors, by = c("Geo" = "country")) %>%
mutate(color = ifelse(geo == "EA19", color2, color)) %>%
mutate(color = ifelse(geo == "ES", color2, color)) %>%
mutate(values = values / 100) %>%
ggplot(.) + geom_line(aes(x = date, y = values, color = color)) +
theme_minimal() + xlab("") + ylab("% Population du 1er cycle de l'enseignement secondaire") +
scale_color_identity() + add_5flags +
scale_x_date(breaks = seq(1960, 2026, 5) %>% paste0("-01-01") %>% as.Date,
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-500, 200, 2),
labels = percent_format(accuracy = 1))
%>%
edat_lfs_9903 filter(isced11 == "ED3_4",
== "Y15-74",
age %in% c("EA19", "DE", "ES", "FR", "IT"),
geo == "T") %>%
sex year_to_date() %>%
filter(date >= as.Date("1995-01-01")) %>%
left_join(geo, by = "geo") %>%
mutate(Geo = ifelse(geo == "DE", "Germany", Geo)) %>%
mutate(Geo = ifelse(geo == "EA19", "Europe", Geo)) %>%
left_join(colors, by = c("Geo" = "country")) %>%
mutate(color = ifelse(geo == "EA19", color2, color)) %>%
mutate(color = ifelse(geo == "ES", color2, color)) %>%
mutate(values = values / 100) %>%
ggplot(.) + geom_line(aes(x = date, y = values, color = color)) +
theme_minimal() + xlab("") + ylab("% Population des niveaux 3 et 4") +
scale_color_identity() + add_5flags +
scale_x_date(breaks = seq(1960, 2026, 5) %>% paste0("-01-01") %>% as.Date,
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-500, 200, 2),
labels = percent_format(accuracy = 1))
%>%
edat_lfs_9903 filter(isced11 == "ED5-8",
== "Y15-74",
age %in% c("EA19", "DE", "ES", "FR", "IT"),
geo == "T") %>%
sex year_to_date() %>%
filter(date >= as.Date("1995-01-01")) %>%
left_join(geo, by = "geo") %>%
mutate(Geo = ifelse(geo == "DE", "Germany", Geo)) %>%
mutate(Geo = ifelse(geo == "EA19", "Europe", Geo)) %>%
left_join(colors, by = c("Geo" = "country")) %>%
mutate(color = ifelse(geo == "EA19", color2, color)) %>%
mutate(color = ifelse(geo == "ES", color2, color)) %>%
mutate(values = values / 100) %>%
ggplot(.) + geom_line(aes(x = date, y = values, color = color)) +
theme_minimal() + xlab("") + ylab("% Population des niveaux 5 à 8") +
scale_color_identity() + add_5flags +
scale_x_date(breaks = seq(1960, 2026, 5) %>% paste0("-01-01") %>% as.Date,
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-500, 200, 2),
labels = percent_format(accuracy = 1))