Skip to contents

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.

See also

Examples

wb_income_level()
#> # A tibble: 7 × 3
#>   id    iso2code value              
#>   <chr> <chr>    <chr>              
#> 1 HIC   XD       High income        
#> 2 INX   XY       Not classified     
#> 3 LIC   XM       Low income         
#> 4 LMC   XN       Lower middle income
#> 5 LMY   XO       Low & middle income
#> 6 MIC   XP       Middle income      
#> 7 UMC   XT       Upper middle income