BG.GSR.NFSV.GD.ZS %>%
filter(iso2c %in% c("US", "FR", "DE", "CN", "1W")) %>%
left_join(iso2c, by = "iso2c") %>%
year_to_date %>%
left_join(colors, by = c("Iso2c" = "country")) %>%
mutate(value = value/100,
color = ifelse(iso2c == "DE", color2, color)) %>%
ggplot(.) + geom_line(aes(x = date, y = value, color = color)) +
xlab("") + ylab("Trade in services (% of GDP)") +
theme_minimal() + scale_color_identity() + add_5flags +
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, 120, 2),
labels = scales::percent_format(accuracy = 1))