1. World Bank Data: Remittance and South asian economy

South Asia is one of the largest remittance recipient region.South Asian countries send out a significant number of migrant workers annually and remittances sent by migrant workers become a significant source of funds for economic development of the countries. Here I am looking into the trends of remittance (% of GDP) from 2000 to 2020 for four South Asian countries that have significantly larger number of outgoing migrant workers. As a share of gross domestic product, Nepal received the largest formal remittance inflows from 2003 - 2020. The contribution of remittance is almost one-fourth of the total GDP of Nepal.

library(wbstats)
new_wb_cache <- wb_search(pattern = "remittances")
remittance_SA <- wb_data(indicator = "BX.TRF.PWKR.DT.GD.ZS", start_date = 2000, end_date = 2021, country = c("Bangladesh", "India", "Nepal", "Sri Lanka"))
value <- remittance_SA$BX.TRF.PWKR.DT.GD.ZS

mh <-  theme(legend.position = "right",
             legend.direction = "vertical",
             legend.justification = "right", 
             legend.background = element_rect(fill = "gray95", size = 0.5),
             legend.title = element_blank()) +
  theme(text = element_text(face = "bold", size = 9))

remi_plot <- ggplot(remittance_SA, aes(x = date, y = value, color = country)) +
  geom_line(size = 1.25) +
  ggtitle ("Contribution of remittance to GDP (%)\n") +
  xlab("") + 
  ylab("Remittance (% of GDP)\n") +
  scale_x_continuous(breaks = seq(2000,2021,3),expand = expansion(mult = c(0, 0), 
                                                                  add = c(0, 2)), limits = c(2000,2021)) +
  scale_y_continuous(breaks = seq(0.00,28,4), expand = c(0, 0),
                     limits = c(0.00, 28)) +
  theme(plot.title = element_text(size = 12, face = "bold", hjust = 0.5)) +
  theme(axis.title.y = element_text(size = 7, face = "bold", vjust = 0.5)) +
  theme(axis.text = element_text(size = 8)) + theme_classic() + mh
remi_plot