Skip to main content

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 query from IodLoader
  • DuckDB CLI: Run duckdb IOD2025.duckdb in your terminal

Example Query

iod query "SELECT * FROM file_2_iod2025_domains_of_deprivation.iod2025_domains LIMIT 10"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iodloader-0.1.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iodloader-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

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

Hashes for iodloader-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d7178cb205d5226bfb400ae9ac6a61c600b37c547c4a1b38178c08013afccca7
MD5 02d25b6556ec6924dcf43c0e1982335e
BLAKE2b-256 4baf8e1d45a10f1fe98733fbac08900c8ed8a6db30b0cbad0f4d5a65edfc208b

See more details on using hashes here.

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

Hashes for iodloader-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f82312d06a672f6506f15af20f2d8607b92d9fc1eea796b4a8c984b76f3f1ecb
MD5 5370b588b1b0c56e084ceaedfaa63751
BLAKE2b-256 64f64efde6c1b3eb3f69a647801b3f8d6f14c44657b2c5685044d65b0d4cc1d7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page