Code
tibble(LAST_DOWNLOAD = as.Date(file.info("~/Library/Mobile\ Documents/com~apple~CloudDocs/website/data/eurostat/lfsq_urgaed.RData")$mtime)) %>%
print_table_conditional()
LAST_DOWNLOAD |
---|
2024-10-09 |
Data - Eurostat
tibble(LAST_DOWNLOAD = as.Date(file.info("~/Library/Mobile\ Documents/com~apple~CloudDocs/website/data/eurostat/lfsq_urgaed.RData")$mtime)) %>%
print_table_conditional()
LAST_DOWNLOAD |
---|
2024-10-09 |
LAST_COMPILE |
---|
2024-11-22 |
%>%
lfsq_urgaed group_by(time) %>%
summarise(Nobs = n()) %>%
arrange(desc(time)) %>%
head(1) %>%
print_table_conditional()
time | Nobs |
---|---|
2024Q2 | 18111 |
%>%
lfsq_urgaed left_join(unit, by = "unit") %>%
group_by(unit, Unit) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
print_table_conditional()
unit | Unit | Nobs |
---|---|---|
PC | Percentage | 1402983 |
%>%
lfsq_urgaed left_join(sex, by = "sex") %>%
group_by(sex, Sex) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
print_table_conditional()
sex | Sex | Nobs |
---|---|---|
T | Total | 469141 |
M | Males | 467049 |
F | Females | 466793 |
%>%
lfsq_urgaed left_join(age, by = "age") %>%
group_by(age, Age) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
print_table_conditional()
age | Age | Nobs |
---|---|---|
Y15-24 | From 15 to 24 years | 53859 |
Y25-29 | From 25 to 29 years | 53295 |
Y20-24 | From 20 to 24 years | 53268 |
Y30-34 | From 30 to 34 years | 53267 |
Y15-74 | From 15 to 74 years | 48382 |
Y15-64 | From 15 to 64 years | 48324 |
Y15-59 | From 15 to 59 years | 48307 |
Y15-39 | From 15 to 39 years | 48114 |
Y25-74 | From 25 to 74 years | 47889 |
Y20-64 | From 20 to 64 years | 47883 |
Y25-64 | From 25 to 64 years | 47827 |
Y25-59 | From 25 to 59 years | 47807 |
Y25-54 | From 25 to 54 years | 47772 |
Y25-49 | From 25 to 49 years | 47699 |
Y50-74 | From 50 to 74 years | 47587 |
Y40-64 | From 40 to 64 years | 47578 |
Y40-59 | From 40 to 59 years | 47537 |
Y25-39 | From 25 to 39 years | 47536 |
Y50-64 | From 50 to 64 years | 47439 |
Y50-59 | From 50 to 59 years | 47350 |
Y55-64 | From 55 to 64 years | 47260 |
Y15-19 | From 15 to 19 years | 47239 |
Y50-54 | From 50 to 54 years | 47189 |
Y40-44 | From 40 to 44 years | 47169 |
Y45-49 | From 45 to 49 years | 47154 |
Y35-39 | From 35 to 39 years | 47144 |
Y55-59 | From 55 to 59 years | 47060 |
Y65-69 | From 65 to 69 years | 47043 |
Y60-64 | From 60 to 64 years | 47005 |
load_data("eurostat/isced11_fr.RData")
%>%
lfsq_urgaed left_join(isced11, by = "isced11") %>%
group_by(isced11, Isced11) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
print_table_conditional()
isced11 | Isced11 | Nobs |
---|---|---|
TOTAL | Ensemble des niveaux de la CITE 2011 | 298410 |
ED0-2 | Inférieur à l'enseignement primaire, enseignement primaire et premier cycle de l'enseignement secondaire (niveaux 0-2) | 296931 |
ED3_4 | Deuxième cycle de l'enseignement secondaire et enseignement post-secondaire non-supérieur (niveaux 3 et 4) | 296918 |
ED5-8 | Enseignement supérieur (niveaux 5-8) | 290961 |
NRP | Sans réponse | 105583 |
ED3_4VOC | Deuxième cycle de l'enseignement secondaire et enseignement post-secondaire non-supérieur (niveaux 3 et 4) - professionnel | 57355 |
ED3_4GEN | Deuxième cycle de l'enseignement secondaire et enseignement post-secondaire non-supérieur (niveaux 3 et 4) - général | 56681 |
NAP | Non applicable | 144 |
%>%
lfsq_urgaed 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 .} {
%>%
lfsq_urgaed group_by(time) %>%
summarise(Nobs = n()) %>%
arrange(desc(time)) %>%
print_table_conditional()
%>%
lfsq_urgaed filter(isced11 == "ED0-2",
== "Y15-74",
age %in% c("EA19", "DE", "ES", "FR", "IT"),
geo == "T") %>%
sex quarter_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("Taux d'emploi (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))
%>%
lfsq_urgaed filter(isced11 == "ED3_4",
== "Y15-74",
age %in% c("EA19", "DE", "ES", "FR", "IT"),
geo == "T") %>%
sex quarter_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("Taux d'emploi") +
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))
%>%
lfsq_urgaed filter(isced11 == "ED5-8",
== "Y15-74",
age %in% c("EA19", "DE", "ES", "FR", "IT"),
geo == "T") %>%
sex quarter_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("Taux d'emploi") +
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))
%>%
lfsq_urgaed filter(isced11 == "TOTAL",
== "Y15-74",
age %in% c("ES", "DE", "FR", "IT", "EA19"),
geo == "T") %>%
sex quarter_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("Taux d'emploi") +
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))
%>%
lfsq_urgaed filter(geo %in% c("EU15", "EU28", "EU27_2020"),
== "Y15-64",
age == "TOTAL",
isced11 == "T",
sex == "PC") %>%
unit %>%
quarter_to_date left_join(geo, by = "geo") %>%
+ geom_line() + theme_minimal() +
ggplot aes(x = date, y = values/100, color = Geo, linetype = Geo) +
scale_color_manual(values = viridis(4)[1:3]) +
scale_x_date(breaks = as.Date(paste0(seq(1960, 2020, 2), "-01-01")),
labels = date_format("%y")) +
theme(legend.position = c(0.3, 0.85),
legend.title = element_blank()) +
xlab("") + ylab("Employment Rates") +
scale_y_continuous(breaks = 0.01*seq(0, 200, 1),
labels = scales::percent_format(accuracy = 1))
%>%
lfsq_urgaed filter(geo %in% c("EU15", "EU28", "EU27_2020"),
== "Y15-64",
age == "TOTAL",
isced11 == "F",
sex == "PC") %>%
unit %>%
quarter_to_date left_join(geo, by = "geo") %>%
+ geom_line() + theme_minimal() +
ggplot aes(x = date, y = values/100, color = Geo, linetype = Geo) +
scale_color_manual(values = viridis(4)[1:3]) +
scale_x_date(breaks = as.Date(paste0(seq(1960, 2020, 2), "-01-01")),
labels = date_format("%y")) +
theme(legend.position = c(0.3, 0.85),
legend.title = element_blank()) +
xlab("") + ylab("Employment Rates (Female)") +
scale_y_continuous(breaks = 0.01*seq(0, 200, 1),
labels = scales::percent_format(accuracy = 1))
%>%
lfsq_urgaed filter(geo %in% c("EU15", "EU28", "EU27_2020"),
== "Y15-64",
age == "TOTAL",
isced11 == "M",
sex == "PC") %>%
unit %>%
quarter_to_date left_join(geo, by = "geo") %>%
+ geom_line() + theme_minimal() +
ggplot aes(x = date, y = values/100, color = Geo, linetype = Geo) +
scale_color_manual(values = viridis(4)[1:3]) +
scale_x_date(breaks = as.Date(paste0(seq(1960, 2020, 2), "-01-01")),
labels = date_format("%y")) +
theme(legend.position = c(0.22, 0.85),
legend.title = element_blank()) +
xlab("") + ylab("Employment Rates (Male)") +
scale_y_continuous(breaks = 0.01*seq(0, 200, 1),
labels = scales::percent_format(accuracy = 1))