Skip to contents

List all sources supported by the World Bank API.

Usage

wb_source(source = NULL, lang = "en")

Arguments

source

character() source to query. Default NULL. If NULL, all sources are returned.

lang

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

Value

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

id

The source ID.

last_updated

The date the source was last updated.

name

The source name.

code

The source code.

description

The source description.

url

The source URL.

data_availability

Whether the source has data available.

metadata_availability

Whether the source has metadata available.

concepts

The concepts associated with the source.

See also

Examples

wb_source()
#> # A tibble: 69 × 9
#>       id last_updated name             code  description url   data_availability
#>    <int> <date>       <chr>            <chr> <chr>       <chr> <lgl>            
#>  1     1 2021-08-18   Doing Business   DBS   NA          NA    TRUE             
#>  2     2 2024-10-24   World Developme… WDI   NA          NA    TRUE             
#>  3     3 2024-11-05   Worldwide Gover… WGI   NA          NA    TRUE             
#>  4     5 2016-03-21   Subnational Mal… SNM   NA          NA    TRUE             
#>  5     6 2024-02-29   International D… IDS   NA          NA    TRUE             
#>  6    11 2013-02-22   Africa Developm… ADI   NA          NA    TRUE             
#>  7    12 2024-06-25   Education Stati… EDS   NA          NA    TRUE             
#>  8    13 2022-03-25   Enterprise Surv… ESY   NA          NA    TRUE             
#>  9    14 2024-09-24   Gender Statisti… GDS   NA          NA    TRUE             
#> 10    15 2024-11-11   Global Economic… GEM   NA          NA    TRUE             
#> # ℹ 59 more rows
#> # ℹ 2 more variables: metadata_availability <lgl>, concepts <int>