NEWS
WDI 2.8.0 (2026-08-20)
- Refreshed the built-in indicator and country metadata using
WDIcache(), and clarified the cache update instructions in the README and documentation.
wdi.dl() stops requesting pages once the World Bank API reports that the final page has been received. This reduces the number of requests from ten per indicator to the number of pages that actually exist. Thanks to @dshkol for PR #71.
wdi.dl() warns when fewer pages are retrieved than the World Bank API announced, instead of silently returning incomplete data.
- Updated cache. Motivation: Pakistan and Afghanistan new region names.
WDI 2.7.10 (2026-04-05)
- Updated cache.
- Allowed more than 25000 indicators. Thanks to @universal for PR #70.
WDI 2.7.9 (2025-03-22)
- The bulk download URL has changed. The package now uses the new URL. Thanks to @mjantti for issue #66.
- Fix a bug where ISO3 codes were wrongly attributed to column
iso2c (#54).
wdi.dl() and wdi.query() are not exported anymore. Those were undocumented anyway (#65).
- Update the series search cache.
WDI 2.7.8 (2022-09-25)
- Move to
jsonlite
end is NULL by default
WDI 2.7.7 (2022-07-16)
WDI 2.7.6 (2022-02-25)
WDI(extra = TRUE) includes a new lastupdated column.
WDI 2.7.5 (2022-02-02)
- Add the observation status (whether an observation is a forecast) when
extra = TRUE in WDI() (#48)
- Updated cache
WDI 2.7.4 (2021-04-06)
- Bug fix for on-the-fly rename
WDI 2.7.3 (2021-03-30)
- Better error message
- Bug fixes
WDI 2.7.2 (2021-01-22)
- Add support for several languages with the "language" argument in
WDI() (#15)
- Add "latest" argument in
WDI(), to fetch the most recent non-NA values (#29, #43)
- Speed improvement in WDIbulk (Thanks to @etiennebacher)
- WDIbulk gets a
timeout argument
WDI 2.7.1 (2020-07-05)
- Bug: did not download all countries
- WDIcache did not retrieve regions
WDI 2.7.0 (2020-06-23)
- API v2
- Fix a breaking change after API v2
- per_page not large enough when dataset is big
- Monthly and quarterly data
WDI 2.6.0 (2019-03-03)
start and end are NULL as default and download all available years.
label attribute to the return data.frame includes descriptive labels for each
WDIbulk function to download all of WDI
- WDIcache and data trim whitespace from region names
WDI 2.5.1 (2018-12-07)
- New # WDI numbering scheme
- Updated country and indicator data
WDI 2.5.0
- Namespace issues (thanks to Jan Dietrich)
- Updated the list of available indicators
- Allow iso3c or iso2c as input for country argument
- Rolled-back indicator input clean up because too aggressive (Thanks to Geoff Wright)
- Rename columns automatically when using a named vector
WDI 2.4.0
- Call RJSONIO::fromJSON explicitly to avoid conflict with JSON package (Thanks to Richard Cotton)
WDI 2.3.0
- Change default start/end date per user request
WDI 2.2.0
- Bug: country names were stripped of digits
WDI 2.1.0
- Fixed various issues (thanks to Matthieu Stigler for bug reports and patches)
- Faster downloads when requesting multiple countries (leveraging the US;BR;CA API syntax)
WDI 2.0.0
- Now uses JSON instead of XML (Faster, easier)
- WDIcache function now allows users to update the locally stored database of available WDI series
- Fixed doc examples
- Documentation now uses roxygen2
- Moved development to github
- Series and country info now in a single data list. utf-8 encoding fixed