Learn R Programming

pdfetch (version 0.3.1)

pdfetch_WB: Fetch data from World Bank

Description

Fetch data from World Bank

Usage

pdfetch_WB(indicators, countries = "all")

Value

a xts object

Arguments

indicators

a vector of World Bank indicators

countries

a vector of country identifiers, which can be 2- or 3-character ISO codes. The special option "all" retrieves all countries.

See Also

Examples

Run this code
if (FALSE) {
pdfetch_WB("NY.GDP.MKTP.CD", c("BR","MX"))
}

Run the code above in your browser using DataLab