FT12_FPE_FPH_FPT %>%
filter(!(grepl("EPA", variable))) %>%
group_by(variable) %>%
mutate(date = date + years(1)) %>%
mutate(value = 100*value/value[1]) %>%
ggplot() + geom_line(aes(x = date, y = value, color = variable)) +
theme_minimal() + xlab("") + ylab("") +
scale_x_date(breaks = seq(1997, 2022, 2) %>% paste0("-01-01") %>% as.Date,
labels = date_format("%Y")) +
scale_y_continuous(breaks = seq(0, 500, 10)) +
#scale_color_manual(values = viridis(6)[1:5]) +
theme(legend.position = c(0.15, 0.7),
legend.title = element_blank()) +
geom_label_repel(data = . %>% filter(date == max(date)),
aes(x = date, y = value, label = variable, color = variable),
size = 2)