API AccessAccess dataset files directly from scripts, code, or AI agents.
Browse dataset files
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 Previews
gini-index
Schema
| name | type | description |
|---|---|---|
| Year | year | Date in the form of %Y |
| Value | number | Value of the GINI Index |
gini-index-2015
Schema
| name | type | description |
|---|---|---|
| Country Index | number | Sequential country index for chart grouping |
| Value | number | Value of the GINI Index |
gini-index-2014
Schema
| name | type | description |
|---|---|---|
| Country Index | number | Sequential country index for chart grouping |
| Value | number | Value of the GINI Index |
Data Files
| File | Description | Size | Last modified | Download |
|---|---|---|---|---|
gini-index | 54.9 kB | 26 days ago | gini-index | |
gini-index-2015 | 764 B | about 2 hours ago | gini-index-2015 | |
gini-index-2014 | 748 B | about 2 hours ago | gini-index-2014 |
| Files | Size | Format | Created | Updated | License | Source |
|---|---|---|---|---|---|---|
| 3 | 56.4 kB | csv | about 2 hours ago | Open Data Commons Public Domain Dedication and Licence (PDDL) | the World Bank |
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.