Spaces:
Sleeping
Sleeping
metadata
title: DEPTH Risk Map
emoji: 🗺️
colorFrom: blue
colorTo: indigo
sdk: docker
app_port: 7860
pinned: false
DEPTH Risk Map
Interactive migration-risk map for Mexico, developed by the University of Nottingham's Rights Lab. Humanitarian, violence and infrastructure indicators overlaid on a rHEALPix hierarchical spatial grid.
How this Space works
Dockerfilebuilds an R image (rocker/geospatial), installs the app packages, and downloadsdepth_mexico.duckdbfrom theedgarodriguez/depth_alphadataset at build time (baked into the image).- The Shiny app (
10.11_draw_query_indicators_v10_HF.R) opens that DuckDB read-only and serves on0.0.0.0:7860.
Files
| File | Role |
|---|---|
10.11_draw_query_indicators_v10_HF.R |
Shiny app (HF build of v9) |
helpers.R |
DuckDB connection + formatting helpers |
10.08_styles.css |
App stylesheet |
Dockerfile |
Image build + DuckDB bake-in |
Updating
The app database is not stored in this Space. To refresh data, update
depth_mexico.duckdb in the edgarodriguez/depth_alpha dataset and rebuild
(Factory rebuild). App-logic changes are made upstream in v9, then this file
is regenerated from it.