t_2103 %>%
filter(line %in% c(6, 7)) %>%
year_to_date2 %>%
ggplot(.) + theme_minimal() + xlab("") + ylab("% du revenu disponible brut") +
geom_line(aes(x = date, y = value / 100, color = Line)) +
theme(legend.title = element_blank(),
legend.position = c(0.65, 0.15)) +
scale_x_date(breaks = seq(1920, 2025, 5) %>% paste0("-01-01") %>% as.Date,
labels = date_format("%y")) +
scale_color_manual(values = viridis(3)[1:2]) +
scale_y_continuous(breaks = 0.01*seq(0, 30, 2),
labels = scales::percent_format(accuracy = 1))