wb_topic {worldbank}R 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

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

Examples

wb_topic()

[Package worldbank version 0.1.0 Index]