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

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

Examples

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

[Package worldbank version 0.1.0 Index]