wb_region {worldbank}R Documentation

World Bank region data

Description

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.

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

wb_region()

[Package worldbank version 0.3.0 Index]