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