Skip to contents

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.

See also

Examples

wb_lending_type()
#> # A tibble: 4 × 3
#>   id    iso2code value         
#>   <chr> <chr>    <chr>         
#> 1 IBD   XF       IBRD          
#> 2 IDB   XH       Blend         
#> 3 IDX   XI       IDA           
#> 4 LNX   XX       Not classified