wb_income_level {worldbank}R Documentation

World Bank income level data

Description

List all income levels supported by the World Bank API.

Usage

wb_income_level(income = NULL, lang = "en")

Arguments

income

character() income level to query. Default NULL. If NULL, all levels are returned.

lang

character(1) language to query. Default "en".

Value

A data.frame() with the available income levels. The columns are:

id

The income level ID.

iso2code

The ISO 2 code of the income level.

value

The income level value.

Source

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

Examples

wb_income_level()

[Package worldbank version 0.1.0 Index]