IDS-DRR is an open-source platform that helps state-level and district-level Disaster Management Authorities make timely, data-driven decisions. It joins up government spending data with complex datasets spanning hazard, exposure, vulnerability, and coping capacity — enabling decision-makers to identify where the most urgent interventions are needed and what investments have already been made.
The platform was initially built for Assam, India, as a 4-year pilot and has since been designed to be replicable for other regions.
🌐 Live platform: drr.open-contracting.in 📖 Full documentation: ids-drr.readthedocs.io
Disaster risk reduction decisions are often fragmented — information is siloed across agencies, in different systems and formats, making it hard to act quickly or equitably.
IDS-DRR breaks down those silos by bringing together:
- Satellite and environmental data
- Social, economic, and demographic indicators
- Infrastructure and loss & damage records
- Government procurement and spending data
The result is an interactive map that gives decision-makers a clear, evidence-based picture of risk down to the sub-district level. The risk-scoring methodology is hazard-agnostic — the same framework supports floods, cyclones, droughts, earthquakes, and other natural hazards, with different input indicators per hazard.
Note
The first deployment was a 4-year pilot in Assam, India, focused on floods. Floods are the most frequent natural disaster globally — in the last decade, 87% of disaster-related deaths in India were caused by floods. The Assam pilot has since been replicated with state authorities in Odisha, Uttar Pradesh, Bihar, and Himachal Pradesh.
This is the root repository for the IDS-DRR platform. It uses git submodules to compose the full system and a docker-compose.yml to run everything locally.
IDS-DRR/
├── platform/
│ ├── frontend/ # Next.js web application (submodule)
│ ├── data-management/ # Django + PostGIS (submodule)
│ └── risk-score-model-generic/ # Python risk-scoring model (submodule)
├── docs/ # Sphinx documentation source
├── user_docs/ # End-user documentation
├── docker-compose.yml # Full local development stack
└── .readthedocs.yaml # ReadTheDocs build config
| Component | Repository | Description |
|---|---|---|
| Frontend | IDS-DRR-Frontend | Next.js web app with interactive maps, filters, and reports |
| Data Management API | IDS-DRR-Data-Management | Django REST API for analytics, risk scores, and indicators |
| Risk-score model | risk-score-model-generic | Generic, methodology-driven scoring model (TOPSIS, DEA) |
| DataSpace Backend | DataSpaceBackend | Optional: dataset catalog, search, and publishing |
| QA Automation | IDS-DRR-QA-Automation | Optional: automated testing and quality assurance |
For each component's docs, see Platform components.
- Docker and Docker Compose
- Git (with submodule support)
git clone --recurse-submodules https://github.com/CivicDataLab/IDS-DRR.git
cd IDS-DRRIf you already cloned without --recurse-submodules, run:
git submodule update --init --recursiveNo .env files are needed — all services have sensible development defaults.
docker compose up -d --buildThis brings up four services: PostGIS (port 54321), Redis (port 6380), the Django backend (port 8000), and the Next.js frontend (port 3000).
docker exec context_layer_Backend python manage.py makemigrations
docker exec context_layer_Backend python manage.py migrate
docker exec context_layer_Backend python manage.py import_geojson
docker exec context_layer_Backend python manage.py import_indicators
docker exec context_layer_Backend python manage.py import_data| Service | URL |
|---|---|
| Frontend | http://localhost:3000 |
| Backend API | http://localhost:8000 |
The DataSpace backend enables the analytics page's chart view and the datasets catalog. See DataSpace Integration for how to wire it in.
- Risk-scoring methodology: SENDAI framework, factor scoring, DEA
- Data lifecycle
- Platform overview: components, localization, deployment
- Adopting the platform for a new region
We welcome contributions. See the Contributing page for issue trackers and contact info, and the Development page for design notes for code contributors.
This project is licensed under the GNU Affero General Public License v3.0.