How cathalmills/peru_dengue_province works
This repository supports dengue epidemic analysis and forecasting, with a Streamlit dashboard for exploring model outputs. The documented workflow is data download, preprocessing, then forecasting; the tree also shows covariate extraction and ensemble modelling capabilities. The dashboard reads prediction and analysis files for maps, province time series, model summaries, and interval scores. Source excerpts do not include the Snakemake rules or most analysis scripts, so internal stage connections beyond the README’s pipeline description are not asserted.
Main entry points: forecasting Forecast workflow · app.py Dashboard entry · Snakefile Pipeline runner · datasets Data acquisition
Components 20
Analysis pipeline
- Pipeline runner
workflows/Snakefile - Forecast workflow
workflows/forecasting
Data preparation
- Data acquisition
workflows/datasets - Provided data
data - Case processing
scripts/processing/case_data.R - Climate processing
workflows/processing/climate/workflow/scripts/climate.R - Covariate extraction
scripts/covars/extract_covars.R
Forecast modelling
- Baseline forecasts
scripts/forecasting/forecast_baseline.R - Bayesian forecasts
scripts/forecasting/forecast_bayes.R - SARIMA forecasts
scripts/forecasting/forecast_sarima.py - TCN forecasts
scripts/forecasting/forecast_tcn.py - TimeGPT forecasts
scripts/forecasting/forecast_timegpt.py - Ensemble training
scripts/ensemble/funcs/iteratively_train_quantile_ensemble_by_province.R
Results dashboard
- Dashboard entry
dashboard/streamlit/app.py - Prediction map
dashboard/streamlit/pages/Map.py - Province trends
dashboard/streamlit/pages/Provinces.py - Model summary
dashboard/streamlit/pages/Summary.py - Interval scores
dashboard/streamlit/pages/Scores.py
Other components
- Analyst
- External data sources
Connections 17
- Analyst → Pipeline runner: runs targets
README.md - Pipeline runner → Data acquisition: runs data download
README.md - Pipeline runner → Case processing: runs preprocessing
README.md - Pipeline runner → Forecast workflow: runs forecasting
README.md - External data sources → Data acquisition: provides datasets
README.md - Provided data → Pipeline runner: required inputs
README.md - Forecast workflow → Baseline forecasts: dispatches
- Forecast workflow → Bayesian forecasts: dispatches
- Forecast workflow → SARIMA forecasts: dispatches
- Forecast workflow → TCN forecasts: dispatches
- Forecast workflow → TimeGPT forecasts: dispatches
- Forecast workflow → Ensemble training: dispatches
- Analyst → Dashboard entry: opens dashboard
- Dashboard entry → Prediction map: serves page
- Dashboard entry → Province trends: serves page
- Dashboard entry → Model summary: serves page
- Dashboard entry → Interval scores: serves page