wb_source: World Bank source data

View source: R/indicators.R

wb_sourceR Documentation

World Bank source data

Description

List all sources supported by the World Bank API.

Usage

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

Arguments

source

(NULL | 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.

Source

https://api.worldbank.org/v2/sources

See Also

Other indicators data: wb_country(), wb_income_level(), wb_indicator(), wb_language(), wb_lending_type(), wb_region(), wb_topic()

Examples



src <- wb_source()
head(src)



worldbank documentation built on March 15, 2026, 5:07 p.m.