List all regions supported by the World Bank API.
Arguments
- region
- ( - NULL|- character())
 Region to query. Default- NULL. If- NULL, all regions are returned
- lang
- ( - character(1))
 Language to query. Default- "en".
Value
A data.frame() with the available regions. The columns are:
- id
- The region ID. 
- code
- The region code. 
- iso2code
- The ISO 2 code of the region. 
- name
- The region name. 
See also
Other indicators data:
wb_country(),
wb_income_level(),
wb_indicator(),
wb_language(),
wb_lending_type(),
wb_source(),
wb_topic()
Examples
region <- wb_region()
head(region)
#>   id code iso2code                                           name
#> 1 NA  AFE       ZH                    Africa Eastern and Southern
#> 2 NA  AFR       A9                                         Africa
#> 3 NA  AFW       ZI                     Africa Western and Central
#> 4 NA  ARB       1A                                     Arab World
#> 5 NA  CAA       C9        Sub-Saharan Africa (IFC classification)
#> 6 NA  CEA       C4 East Asia and the Pacific (IFC classification)