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

(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 April 4, 2025, 1:35 a.m.