pdfetch_WB function

Fetch data from World Bank

Fetch data from World Bank

pdfetch_WB(indicators, countries = "all")

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.

Returns

a xts object

Examples

## Not run: pdfetch_WB("NY.GDP.MKTP.CD", c("BR","MX")) ## End(Not run)

See Also

https://data.worldbank.org/

  • Maintainer: Abiel Reinhart
  • License: GPL
  • Last published: 2024-12-17