Stata World

Stata module to access World Bank databases – World Bank Data Help Desk

Note: The latest version of the wbopendata module is 16.2.2. This version is required to work with the latest updates to the API as of June 19, 2020. It is available for download from SSC.wbopendata allows Stata users to download over 3,000 series of indicators from the World Bank databases, including: Development Africa Development Indicators;…

Notice : The most recent version of the wbopendata module is 16.2.2. This version must work with the latest updates to the API as of June 19, 2020. It is available for download from SSC.

wbopendata enables Stata users to obtain over 3,000
Series of indicators in the World Bank Development
Africa Development Indicators; Doing Business; Education Statistics; Enterprise
Surveys; Global Development Finance; Gender Statistics; Health Nutrition and
Population Statistics; International Development Association – Results
World Development Indicators; measurement System; Millennium Development Goals;
Worldwide Governance Indicators. These indicators include advice from over
256 countries and areas, since 1960. 

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

ssc install wbopendata

Following this procedure wbopendata works just like any other Stata command,
Users may type either

help wbopendata


db wbopendata (to activate
The visual interface)

Users can chose
From among three of those languages supported from the database (and Stata),
Namely, English, Spanish, or French.

Three potential
Downloads choices are supported:

  • state – all
    Indicators for many years for a nation\.
  • topic – all
    Indicators within a specific topic\.
  • index – all
    Years for one index for many countries.

Users may also
Choose to have the data displayed in either the wide or long format (wide is
The default option). Note that the reshape is performed locally, so it will need
The appropriate amount of RAM to operate properly\.

wbopendata draws from the main World Bank
Collections of development indicators
international sources. It presents the most current and accurate global
Development data includes regional, national and international, and available
estimates. The access to these databases is made possible by the World Bank’s Open Data Initiative
That provides open full access to World Bank databases.


This program was developed by Joao Pedro Azevedo.

A particular thanks to this World Bank Data Group group, specifically, Malarvizhi Veerappan, Lakshmikanthan Subramanian, Shanmugam Natarajan, Ugendran Machakkalai, Rochelle Glenene O’Hagan, Timothy Grant Herzog, along with Ana Florina Pirlea.

The author would like to thanks remarks received from Minh Cong Nguyen, John Luke Gallup, Aart C. Kraay, Amer Hasan, Johan Mistiaen, Roy Shuji Katayama, Dean Mitchell Jolliffe, Nobuo Yoshida, Manohar Sharma, Gabriel Demombynes, Paolo Verme, Elizaveta Perova, Kit Baum, Kerry Kammire, Derek Wagner, Neil Fantom and Loiuse J. Cord.


% item_read_more_button%percent