Download and process English Indices of Deprivation data
Project description
IOD 2025 Data Loader 🦆
A simple Python package and CLI for downloading and loading the latest English Indices of Deprivation 2025 data into DuckDB.
IOD Source Data -> Click Here
Installation
pip install iod-loader
Or with uv:
uv add iod-loader
Quick Start
CLI Usage (Recommended)
Use the CLI tool to load and query the data directly.
# Load all IOD 2025 data
iod load
# List all tables
iod list-tables
# Query the data
iod query "SELECT * FROM your_schema.your_table LIMIT 10"
Python Library Usage
Or use in a Python script.
from IodLoader import load_with_progress
if __name__ == "__main__":
load_with_progress()
Database Structure
The loader creates a DuckDB database with the following structure:
- Schemas: Named after the Excel filename
- Tables: Named after the Excel sheet names
Querying the Data
You can query the data through:
- CLI tool:
iod query "SELECT * FROM ..." - Python package: Import
queryfromIodLoader - DuckDB CLI: Run
duckdb IOD2025.duckdbin your terminal
Example Query
iod query "SELECT * FROM file_2_iod2025_domains_of_deprivation.iod2025_domains LIMIT 10"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iodloader-0.1.0.tar.gz.
File metadata
- Download URL: iodloader-0.1.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7178cb205d5226bfb400ae9ac6a61c600b37c547c4a1b38178c08013afccca7
|
|
| MD5 |
02d25b6556ec6924dcf43c0e1982335e
|
|
| BLAKE2b-256 |
4baf8e1d45a10f1fe98733fbac08900c8ed8a6db30b0cbad0f4d5a65edfc208b
|
File details
Details for the file iodloader-0.1.0-py3-none-any.whl.
File metadata
- Download URL: iodloader-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f82312d06a672f6506f15af20f2d8607b92d9fc1eea796b4a8c984b76f3f1ecb
|
|
| MD5 |
5370b588b1b0c56e084ceaedfaa63751
|
|
| BLAKE2b-256 |
64f64efde6c1b3eb3f69a647801b3f8d6f14c44657b2c5685044d65b0d4cc1d7
|