Skip to content
 
 

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

World Development Indicators

Python script for automated access to world-bank website and retreiving datasets with datapackages.

Data

World bank is a global partnership that provides loans to countries for capital projects. It tracks global development indicators and allows free and open access to its data. There are indicators from a variety of fields such as agriculture, economy, climate change etc.

Indicators

Usage

The scripts are python based and use python 3.5+. The script get.py has no dependencies outside of the standard library. It is used to download and extract a specific indicator. Credit goes to rufuspolock. In order to obtain dataset with a specific indicator url run: python scripts/get.py indicator_url

Example:

python scripts/get.py https://data.worldbank.org/indicator/GC.DOD.TOTL.GD.ZS
# This will download Central government total debt as percentage of GDP dataset

The script extractFeaturedWorldBankDatasets.py obtains datasets from the world-bank featured page https://data.worldbank.org/indicator?tab=featured. It uses library BeautifulSoup in order to scrape indicator urls. To install BeautifulSoup run: pip install bs4

To obtain all featured indicators run: python scripts/extractFeaturedWorldBankDatasets.py

About

Extractor for featured World Bank indicators datasets on https://data.worldbank.org/indicator?tab=featured. These datasets are published on datahub.io

Resources

Stars

7 stars

Watchers

6 watching

Forks

Releases

Packages

Contributors

Languages