wb_region: World Bank region data

View source: R/indicators.R

wb_regionR Documentation

World Bank region data

Description

List all regions supported by the World Bank API.

Usage

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

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.

Source

https://api.worldbank.org/v2/region

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)



worldbank documentation built on March 15, 2026, 5:07 p.m.