Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

layhadarries/Cape-Town-Suburb-Energy-Vulnerability-Index

Domain:

environment and energygeospatial

Record type:

dataset
Creator:
lay
Host:
A data pipeline to extract dam level and electricity/ loadshedding data from EskomSePush and Cape Town Open Data API. Output is a Google Data Studio report, providing insight into the current loadshedding schedule and dam levels across South Africa. # Cape Town Suburb Energy Vulnerability Index A data engineering pipeline that scores Cape Town suburbs by how exposed they are to load shedding — combining actual outage hours with property value, commercial/zoning density, and public facility density — to answer a genuinely useful question: **which suburbs get hit hardest by load shedding, relative to what's actually at stake there?** Two suburbs can have identical loadshedding stages and hours, but if one has three clinics and a commercially-zoned business strip and the other is mostly low-density residential, the real-world impact is completely different. This project builds a composite index that captures that difference, not just raw outage hours. ## The question this answers > For each suburb: how many hours of load shedding does it actually experience, and how much economic/civic activity sits behind that suburb (property value, commercial zoning density, public facilities)? Combine both into a single comparable score. ## Architecture ``` ┌─────────────────────┐ ┌────────────────────────────┐ │ EskomSePush API │ │ CT Open Data Portal │ │ (outage hours per │ │ (property valuations, │ │ tracked suburb) │ │ zoning, civic facilities)│ └──────────┬──────────┘ └─────────────┬──────────────┘ │ │ └───────────────┬────────────┘ ▼ AWS S3 (raw landing zone) │ ▼ AWS RDS Postgres (warehouse) dim_suburb + fact tables │ ▼ dbt (build vulnerability index mart, normalize, weight, test) │ ▼ Looker Studio (suburb map + ranked score table) All of the above (except Looker Studio) is orchestrated by Apache Airflow, running in Docker. ``` ## Tech stack | Layer | Tool | |---|---| | Language | Python 3 | | Extraction | `requests` (CT Open Data), custom EskomSePush client | | Raw storage | AWS S3 | | Warehouse | AWS RDS (Postgres) | | Transformation | dbt-core (`dbt-postgres`) | | Orchestration | Apache Airflow (Docker Compose) | | Visualization | Looker Studio | | …

Visit

github.com

Similar

Abdullahicoder/somalia-drought-vulnerability-indexAfrica Community Vulnerability Index 2020Cape Town social contact dataUrban poverty in Cape Townofilemfetane10/au-child-health-vulnerability-indexUber Movement SANRAL Cape Town Challenge

Abdullahicoder/somalia-drought-vulnerability-index

Modeling drought vulnerability in Somalia using FAO-SWIMS and IOM data to support early warning, tar

Africa Community Vulnerability Index 2020

The Africa CCVI ranks 756 regions across 48 African countries on their vulnerability—

Cape Town social contact data

Social contact data collected from 1115 adults (aged 15+ years) located in Western Cape Province, So

Urban poverty in Cape Town

This paper describes key findings of a household livelihood survey conducted in impoverished African

ofilemfetane10/au-child-health-vulnerability-index

AU public health intelligence dashboard tracking under-5 mortality, vaccination coverage, nutrition,

Uber Movement SANRAL Cape Town Challenge

Predict when and where road incidents will occur next in Cape Town
Incident data in Cape Town, South Africa has been provided by SANRAL Freeway Management System and travel times between zones in Cape Town have been provided by Uber Movement.
The aim of