wbopendata: Stata module to access World Bank databases

wbopendata allows Stata users to download over 3,000 series of indicators from the World Bank databases, including: Development Africa Development Indicators; Doing Business; Education Statistics; Enterprise Surveys; Global Development Finance; Gender Statistics; Health Nutrition and Population Statistics; International Development Association - Results Measurement System; Millennium Development Goals; World Development Indicators; Worldwide Governance Indicators. These indicators include information from over 256 countries and regions, since 1960.

It can be easily installed from the Statistical Software Components repository, by simply typing, from within the Stata command line interface:

ssc install wbopendata

After this process wbopendata works just like any other Stata command, users can type either

help wbopendata


db wbopendata (to activate the visual interface)

Users can chose from one of three of the languages supported by the database (and Stata), namely, English, Spanish, or French.

Three possible downloads options are currently supported:

  • country - all indicators for all years for a single country.
  • topic - all indicators within a specific topic, for all years and all countries.
  • indicator - all years for all countries for a single indicator.

Users can also choose to have the data displayed in either the wide or long format (wide is the default option). Note that the reshape is done locally, so it will require the appropriate amount of RAM to work properly.

wbopendata draws from the main World Bank collections of development indicators, compiled from officially-recognized international sources. It presents the most current and accurate global development data available, and includes national, regional and global estimates. The access to these databases is made possible by the World Bank's Open Data Initiative which provides open full access to World Bank databases.

This program was developed by the LCSPP Team for Statistical Development, from the Latin American and Caribbean Poverty Reduction and Economic Managment Group from the World Bank, in collaboration with the World Bank Data Group. 

For more updated information and beta releases of WBOPENDATA, follow the GitHub repository.

In the case of comments and/or suggestions regarding this application please contact data@worldbank.org

Thank you for visiting the World Bank's Data Help Desk. Please review the terms of use for this website. Your continued use of this website constitutes your acceptance of these terms and conditions.

Developer Info

Feedback and Knowledge Base