Last observation: 2025 (N = 264)
First observation: 1960 (N = 263)
Last data update: 23 sept. 2026, 23:07
Last compile: 23 sept. 2026, 23:25
SP.POP.DPND.OL |>
left_join(iso2c, by = "iso2c") |>
group_by(iso2c, Iso2c) |>
mutate(value = round(value, 2)) |>
summarise(Nobs = n(),
`Year` = last(year),
`Dependency (%)` = last(value)) |>
arrange(-Nobs) |>
mutate(Flag = gsub(" ", "-", str_to_lower(Iso2c)),
Flag = paste0('<img src="../../bib/flags/vsmall/', Flag, '.png" alt="Flag">')) |>
select(Flag, everything()) %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F, escape = F) else .}SP.POP.DPND.OL |>
filter(iso2c %in% c("IT", "FR", "DE")) |>
left_join(iso2c, by = "iso2c") |>
year_to_enddate() |>
mutate(value = value/100) |>
add_flag_color("Iso2c") |>
ggplot() + theme_minimal() + geom_line() +
aes(x = date, y = value, color = color) +
xlab("") + ylab("Age dependency ratio, old (% of working-age population)") +
scale_color_identity() + add_flags +
theme(legend.title = element_blank(),
legend.position = c(0.8, 0.9)) +
scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-60, 60, 2),
labels = scales::percent_format(accuracy = 1))
SP.POP.DPND.OL |>
filter(iso2c %in% c("JP", "CH")) |>
left_join(iso2c, by = "iso2c") |>
year_to_enddate() |>
mutate(value = value/100) |>
add_flag_color("Iso2c") |>
ggplot() + theme_minimal() + geom_line() +
aes(x = date, y = value, color = color) +
xlab("") + ylab("Age dependency ratio, old (% of working-age population)") +
scale_color_identity() + add_flags +
theme(legend.title = element_blank(),
legend.position = c(0.8, 0.9)) +
scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-60, 60, 2),
labels = scales::percent_format(accuracy = 1))
SP.POP.DPND.OL |>
filter(iso2c %in% c("CN", "US")) |>
left_join(iso2c, by = "iso2c") |>
year_to_enddate() |>
mutate(value = value/100) |>
add_flag_color("Iso2c") |>
ggplot() + theme_minimal() + geom_line() +
aes(x = date, y = value, color = color) +
xlab("") + ylab("Age dependency ratio, old (% of working-age population)") +
scale_color_identity() + add_flags +
theme(legend.title = element_blank(),
legend.position = c(0.2, 0.9)) +
scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-60, 60, 2),
labels = scales::percent_format(accuracy = 1))
SP.POP.DPND.OL |>
filter(iso2c %in% c("CN", "FR", "DE")) |>
left_join(iso2c, by = "iso2c") |>
year_to_enddate() |>
mutate(value = value/100) |>
add_flag_color("Iso2c") |>
ggplot() + theme_minimal() + geom_line() +
aes(x = date, y = value, color = color) +
xlab("") + ylab("Age dependency ratio, old (% of working-age population)") +
scale_color_identity() + add_flags +
theme(legend.title = element_blank(),
legend.position = c(0.15, 0.9)) +
scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-60, 60, 2),
labels = scales::percent_format(accuracy = 1))
SP.POP.DPND.OL |>
filter(iso2c %in% c("US", "GB", "ES")) |>
left_join(iso2c, by = "iso2c") |>
year_to_enddate() |>
mutate(value = value/100) |>
add_flag_color("Iso2c") |>
ggplot() + theme_minimal() + geom_line() +
aes(x = date, y = value, color = color) +
xlab("") + ylab("Age dependency ratio, old (% of working-age population)") +
scale_color_identity() + add_flags +
theme(legend.title = element_blank(),
legend.position = c(0.4, 0.9)) +
scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-60, 60, 2),
labels = scales::percent_format(accuracy = 1))
SP.POP.DPND.OL |>
filter(iso2c %in% c("AR", "CL", "VE")) |>
left_join(iso2c, by = "iso2c") |>
year_to_enddate() |>
mutate(Iso2c = ifelse(iso2c == "VE", "Venezuela", Iso2c)) |>
mutate(value = value/100) |>
add_flag_color("Iso2c") |>
ggplot() + theme_minimal() + geom_line() +
aes(x = date, y = value, color = color) +
xlab("") + ylab("Age dependency ratio, old (% of working-age population)") +
scale_color_identity() + add_flags +
theme(legend.title = element_blank(),
legend.position = c(0.8, 0.9)) +
scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-60, 60, 2),
labels = scales::percent_format(accuracy = 1))
SP.POP.DPND.OL |>
filter(iso2c %in% c("GR", "HK", "MX")) |>
left_join(iso2c, by = "iso2c") |>
year_to_enddate() |>
mutate(Iso2c = ifelse(iso2c == "HK", "Hong Kong", Iso2c)) |>
mutate(value = value/100) |>
add_flag_color("Iso2c") |>
ggplot() + theme_minimal() + geom_line() +
aes(x = date, y = value, color = color) +
xlab("") + ylab("Age dependency ratio, old (% of working-age population)") +
scale_color_identity() + add_flags +
theme(legend.title = element_blank(),
legend.position = c(0.8, 0.9)) +
scale_x_date(breaks = seq(1950, 2100, 5) |> paste0("-01-01") |> as.Date(),
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-60, 60, 2),
labels = scales::percent_format(accuracy = 1))