wb_lending_type {worldbank}R Documentation

World Bank lending type data

Description

List all lending types supported by the World Bank API.

Usage

wb_lending_type(type = NULL, lang = "en")

Arguments

type

character() lending type to query. Default NULL. If NULL, all types are returned.

lang

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

Value

A data.frame() with the available lending types. The columns are:

id

The lending type ID.

iso2code

The ISO 2 code of the lending type.

value

The lending type value.

Source

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

Examples

wb_lending_type()

[Package worldbank version 0.1.0 Index]