<a className="gh-badge" href="https://datahub.io/core/gini-index"><img src="https://badgen.net/badge/icon/View%20on%20datahub.io/orange?icon=https://datahub.io/datahub-cube-badge-icon.svg&label&scale=1.25" alt="badge" /></a>

The repository of the data package of the GINI Index.

## Data

The data that is contained in the `gini-index.csv` file, under `/data` was
retrieved from [the World Bank](http://data.worldbank.org/indicator/SI.POV.GINI).

## Preparation

Run the requirements through `pip` in order to install all required packages to run the script.

`pip install -r scripts/requirements.txt`

The process is recorded and automated in a Python script:

`scripts/process.py`

Or, alternatively just by running:

`make`

## Automation

Up-to-date (auto-updates each 2 month) gini-index dataset could be found on the datahub.io:
https://datahub.io/core/gini-index

## Licence

All data is licensed under the Open Data Commons Public Domain Dedication and License. All code is licensed under the MIT/BSD license.

Note that while no credit is formally required a link back or credit to Rufus Pollock and the Open Knowledge Foundation is much appreciated.
