wb_topic: World Bank topic data

View source: R/indicators.R

wb_topicR Documentation

World Bank topic data

Description

List all topics supported by the World Bank API.

Usage

wb_topic(topic = NULL, lang = "en")

Arguments

topic

(character()) topic to query. Default NULL. If NULL, all topics are returned.

lang

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

Value

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

id

The topic ID.

value

The topic value.

source_note

The source note.

Source

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

See Also

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

Examples

wb_topic()

worldbank documentation built on April 4, 2025, 1:35 a.m.