REGION_LABOUR %>%
filter(REG_ID %in% c("BE1", "BE2", "BE3"),
VAR == "UNEM_RA_15_MAX",
SEX == "T",
POS == "ALL") %>%
left_join(REGION_LABOUR_var$REG_ID, by = "REG_ID") %>%
group_by(REG_ID) %>%
arrange(TIME) %>%
mutate(date = paste0(TIME, "-01-01") %>% as.Date) %>%
ggplot() + geom_line(aes(x = date, y = obsValue/100, color = Reg_id)) +
scale_color_manual(values = viridis(4)[1:3]) + theme_minimal() +
scale_x_date(breaks = as.Date(paste0(seq(1960, 2020, 2), "-01-01")),
labels = date_format("%y")) +
theme(legend.position = c(0.2, 0.87),
legend.title = element_blank()) +
xlab("") + ylab("Unemployment (%)") +
scale_y_continuous(breaks = 0.01*seq(0, 200, 1),
labels = scales::percent_format(accuracy = 1))