API Access
Access dataset files directly from scripts, code, or AI agents.
Browse dataset files
API Access
Access dataset files directly from scripts, code, or AI agents.
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.
Start with these files — they give you everything you need to understand and access the dataset.
- 1. Fetch datapackage.json to inspect schema and resources
- 2. Download data resources listed in datapackage.json
- 3. Read README.md for full context
Data Files
Explore with AIgini-index
| Field | Type | Description |
|---|---|---|
| Year | year | Date in the form of %Y |
| Value | number | Value of the GINI Index |
Download
Download CSVAbout
- Last updated
- 9 February 2026
- Total rows
- ...
- Format
- CSV
- File size
- 54.9 kB
- Source
- the World Bank
gini-index-2015
| Field | Type | Description |
|---|---|---|
| Country Index | number | Sequential country index for chart grouping |
| Value | number | Value of the GINI Index |
Download
Download CSVAbout
- Last updated
- 6 March 2026
- Total rows
- ...
- Format
- CSV
- File size
- 764 B
- Source
- the World Bank
gini-index-2014
| Field | Type | Description |
|---|---|---|
| Country Index | number | Sequential country index for chart grouping |
| Value | number | Value of the GINI Index |
Download
Download CSVAbout
- Last updated
- 6 March 2026
- Total rows
- ...
- Format
- CSV
- File size
- 748 B
- Source
- the World Bank
About this dataset
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.