Skip to contents

List all regions supported by the World Bank API.

Usage

wb_region(region = NULL, lang = "en")

Arguments

region

(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

Examples

wb_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)
#> 7  NA  CEB       B8                        Central Europe and the Baltics
#> 8  NA  CEU       C5          Europe and Central Asia (IFC classification)
#> 9  NA  CLA       C6  Latin America and the Caribbean (IFC classification)
#> 10 NA  CME       C7     Middle East and North Africa (IFC classification)
#> 11 NA  CSA       C8                       South Asia (IFC classification)
#> 12 NA  CSS       S3                                Caribbean small states
#> 13 NA  EAP       4E           East Asia & Pacific (excluding high income)
#> 14 NA  EAR       V2                            Early-demographic dividend
#> 15  1  EAS       Z4                                   East Asia & Pacific
#> 16 NA  ECA       7E         Europe & Central Asia (excluding high income)
#> 17  2  ECS       Z7                                 Europe & Central Asia
#> 18 NA  EMU       XC                                             Euro area
#> 19 NA  EUU       EU                                        European Union
#> 20 NA  FCS       F1              Fragile and conflict affected situations
#> 21 NA  HPC       XE                Heavily indebted poor countries (HIPC)
#> 22 NA  LAC       XJ     Latin America & Caribbean (excluding high income)
#> 23  3  LCN       ZJ                             Latin America & Caribbean
#> 24 NA  LDC       XL          Least developed countries: UN classification
#> 25 NA  LTE       V3                             Late-demographic dividend
#> 26 NA  MDE       M1                         Middle East (developing only)
#> 27  4  MEA       ZQ                            Middle East & North Africa
#> 28 NA  MNA       XQ    Middle East & North Africa (excluding high income)
#> 29  6  NAC       XU                                         North America
#> 30 NA  NAF       M2                                          North Africa
#> 31 NA  NRS       6X        Non-resource rich Sub-Saharan Africa countries
#> 32 NA  OED       OE                                          OECD members
#> 33 NA  OSS       S4                                    Other small states
#> 34 NA  PRE       V1                              Pre-demographic dividend
#> 35 NA  PSS       S2                           Pacific island small states
#> 36 NA  PST       V4                             Post-demographic dividend
#> 37 NA  RRS       R6            Resource rich Sub-Saharan Africa countries
#> 38  8  SAS       8S                                            South Asia
#> 39 NA  SSA       ZF            Sub-Saharan Africa (excluding high income)
#> 40  9  SSF       ZG                                    Sub-Saharan Africa
#> 41 NA  SST       S1                                          Small states
#> 42 NA  SXZ       A4             Sub-Saharan Africa excluding South Africa
#> 43 NA  WLD       1W                                                 World
#> 44 NA  XZN       A5 Sub-Saharan Africa excluding South Africa and Nigeria