Published

Historic values of the GINI Index

162
260

The repository of the data package of the GINI Index

API Access

Access dataset files directly from scripts, code, or AI agents.

Browse dataset files
Dataset Files

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

/core/gini-index/
https://datahub.io/core/gini-index/_r/-/Makefile
https://datahub.io/core/gini-index/_r/-/README.md
https://datahub.io/core/gini-index/_r/-/archive/gini-index.csv
https://datahub.io/core/gini-index/_r/-/data/gini-index-2014.csv
https://datahub.io/core/gini-index/_r/-/data/gini-index-2015.csv
https://datahub.io/core/gini-index/_r/-/data/gini-index.csv
https://datahub.io/core/gini-index/_r/-/datapackage.json
Key Files

Start with these files — they give you everything you need to understand and access the dataset.

datapackage.jsonmetadata & schema
https://datahub.io/core/gini-index/_r/-/datapackage.json
README.mddocumentation
https://datahub.io/core/gini-index/_r/-/README.md
Typical Usage
  1. 1. Fetch datapackage.json to inspect schema and resources
  2. 2. Download data resources listed in datapackage.json
  3. 3. Read README.md for full context

Data Previews

gini-index

Loading data...

Schema

nametypedescription
YearyearDate in the form of %Y
ValuenumberValue of the GINI Index

gini-index-2015

Loading data...

Schema

nametypedescription
Country IndexnumberSequential country index for chart grouping
ValuenumberValue of the GINI Index

gini-index-2014

Loading data...

Schema

nametypedescription
Country IndexnumberSequential country index for chart grouping
ValuenumberValue of the GINI Index

Data Files

FileDescriptionSizeLast modifiedDownload
gini-index
54.9 kB26 days ago
gini-index
gini-index-2015
764 Babout 2 hours ago
gini-index-2015
gini-index-2014
748 Babout 2 hours ago
gini-index-2014
FilesSizeFormatCreatedUpdatedLicenseSource
356.4 kBcsvabout 2 hours agoOpen Data Commons Public Domain Dedication and Licence (PDDL)the World Bank

badge

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.

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.