Last observation: 2024 (N = 689)
First observation: 1995 (N = 711)
Last data update: 02 août 2026, 11:05
Last compile: 26 oct. 2026, 01:36
T_2101 |>
filter(variable %in% c("D11", "D11X613CE")) |>
left_join(gdp, by = "year") |>
year_to_date2() |>
ggplot() + geom_line(aes(x = date, y = value / gdp, color = Variable)) +
theme_minimal() + xlab("") + ylab("% du PIB") +
scale_x_date(breaks ="5 years",
labels = date_format("%Y")) +
scale_y_continuous(breaks = 0.01*seq(-10, 100, 1),
labels = percent_format(accuracy = 1)) +
theme(legend.position = c(0.2, 0.15),
legend.title = element_blank())