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

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

Examples

wb_region()

[Package worldbank version 0.1.0 Index]