wb_bulk: World Bank WDI bulk download

View source: R/indicators.R

wb_bulkR Documentation

World Bank WDI bulk download

Description

Download the entire World Development Indicators dataset as a single zip and return its contents as a list of data frames. Useful for full-dataset analyses where paginating through wb_data() would be slow, and for accessing footnote and series-time metadata that the API does not expose.

Usage

wb_bulk(timeout = 600L)

Arguments

timeout

(integer(1))
Maximum download time in seconds. Default 600.

Details

The download is roughly 280 MB compressed and may take a minute or more.

Value

A named list() of data.frame()s:

  • data: indicator values in long format with columns country_name, country_code, indicator_name, indicator_code, year, value.

  • country: country metadata.

  • series: series (indicator) metadata.

  • country_series: country-series-specific notes.

  • series_time: series-year-specific notes.

  • footnote: footnotes per country, series, and year.

Source

https://databankfiles.worldbank.org/public/ddpext_download/WDI_CSV.zip

See Also

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

Examples

## Not run: 
wdi <- wb_bulk()
head(wdi$data)

## End(Not run)

worldbank documentation built on June 29, 2026, 9:07 a.m.