A repository to analyze world development indicators π
The World Development Indicators from the World Bank contain over a thousand annual indicators of economic development from hundreds of countries around the world.
Is higher percentage of Rural population (% of total population) in a country linked to less Agricultural machines (tractors)? Or is the reverse true?
Does higher Merchandise exports by the reporting economy (current USD) imply a larger GDP per capita (current USD) of a country?
These are some of the questions to which I want to seek answers through this dataset provided by the world bank.
I plan to make my analysis reproducible so as to ease the tasks of those contributors interested in helping me expand the set of questions that can be asked given this dataset.
In the end I will provide some plots and figures which can be interepreted in the context of the intended hypotheses questions.
The following hypotheses will be tested (list will be expanded):
- More CO2 emissions from gaseous fuel consumption (% of total) leads to more SP2.5 particulate matter in the air (Annually).
- Higher life expectancy at birth is true for countries with higher GDP (in US$)
- More Hospital beds (per 1,000 people) leads to lower mortality rates.
The data is taken from Kaggle's World Development Indicator Dataset for the convenince of the contributors I have stored the data on Google Cloud Buckets. This can easily be downloaded by running download_data.py
python script in /src
folder. This data has been provided by the worldbank.
Released Under World Bank Dataset Terms of Use.
- Country.csv: This data file has information regarding the different parameters on which all the countries in this dataset have been classified by worldbank.
- CountryNotes.csv: This datafile has country codes, series codes(info in Series.csv) and a description of the data source for each country.
- Footnotes.csv: This file is an expanded version of the previous file where each data source row is further split into rows for each year for which the data is present for that particular country.
- Indicators.csv.zip: This is the main file of interest which has the information regarding the data values for different indicators on each countries development has been measured.
- Series.csv: This file has series codes (found in country notes) description.
- SeriesNotes.csv: This file has further year-wise expanded information on the data found in the Series.csv file.
- Clone this repo to a local folder on your system.
-
Navigate into this folder "world-dev-indicators" through command line.
-
Type:
make clear_all
This will clear all the result files which come with this repo.
-
Now, type:
make all
This will run all the scripts in the src/
folder as per the sequence in Makefile
and render the analysis in the results/
folder.
-
Download from Docker
docker pull simransethi/world-dev-indicators
-
Clean, so that you can build from start:
docker run --rm -v **insert-location-to-repo-in-your-local-system**:/home/world-dev-indicators simransethi/world-dev-indicators make -C '/home/world-dev-indicators' clear_all
-
Run the whole analysis:
docker run --rm -v **insert-location-to-repo-in-your-local-system**:/home/world-dev-indicators simransethi/world-dev-indicators make -C '/home/world-dev-indicators' all
The final report is rendered at this location: doc/final_report/
[Attribution: Dependency graph generated using this software]