Helper function to quickly retrieve the list of iso3 country codes for a specific World Bank region or income group
get_countries(region_code)
region_code | character: A region or income group code. Only accepts one code |
---|
a vector of country code
get_countries("ECA")#> [1] "ALB" "ARM" "AZE" "BLR" "BIH" "BGR" "HRV" "CZE" "EST" "GEO" "HUN" "KAZ" #> [13] "XKX" "KGZ" "LVA" "LTU" "MKD" "MDA" "MNE" "POL" "ROU" "RUS" "SRB" "SVK" #> [25] "SVN" "TJK" "TUR" "TKM" "UKR" "UZB"