wb_indicator: World Bank indicator data

View source: R/indicators.R

wb_indicatorR Documentation

World Bank indicator data

Description

List all indicators supported by the World Bank API.

Usage

wb_indicator(indicator = NULL, lang = "en")

Arguments

indicator

(NULL | character(1))
Indicator to query. Default NULL. If NULL, all indicators are returned.

lang

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

Value

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

  • id: The indicator ID.

  • name: The indicator name.

  • unit: The indicator unit.

  • source_id: The source ID.

  • source_value: The source value.

  • source_note: The source note.

  • source_organization: The source organization.

  • topic_id: The topic ID.

  • topic_value: The topic value.

Source

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

See Also

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

Examples



wb_indicator("NY.GDP.MKTP.CD")



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