Helper function to quickly retrieve the list of iso3 country codes for a specific World Bank region or income group

get_countries(region_code)

Arguments

region_code

character: A region or income group code. Only accepts one code

Value

a vector of country code

Examples

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"