Code and rainfall data for: Beyond Crash History: Rainfall and Regional Effects on Road Traffic Crash Severity in Nigeria, an Explainable Machine Learning Analysis

This record contains the analysis code and the derived rainfall series supporting the article "Beyond Crash History: Rainfall and Regional Effects on Road Traffic Crash Severity in Nigeria, an Explainable Machine Learning Analysis". The study tests whether rainfall, seasonality, public holidays and geopolitical zone improve prediction of road traffic crash frequency and a fatality-weighted severity index across Nigeria's 36 states and the Federal Capital Territory (Q4 2020 to Q1 2024; 518 state-quarters), once each state's crash history is controlled. Multiple linear regression, random forest and XGBoost models are compared against naive history baselines and interpreted with SHAP. Files - rainfall nasa power quarterly.csv: quarterly rainfall at each state capital, derived from NASA POWER daily data, for the 37 states and the 14 quarters analysed. - Supplementary Code TIP.zip: Python scripts and a README describing the run order and requirements.   - rebuild enriched.py: assembles the analysis dataset by merging crash records with rainfall, holiday, season and zone variables.   - crash pipeline v2.py: trains, tunes and evaluates the models and produces the SHAP analysis.   - robustness checks.py: runs the bootstrap comparisons, Poisson benchmark, repeated seeds, rainfall-anomaly and leave-one-state-out checks. Crash data The state-level crash records come from the Federal Road Safety Corps (FRSC) and are not included in this record. See the article's Data Availability Statement for how to obtain them. Rainfall data were obtained from the NASA Langley Research Center (LaRC) POWER Project funded through the NASA Earth Science/Applied Science Program.

Link
https://zenodo.org/records/23063579
Found by
Zenodo
Authors
Omilabu, Ademola Abiodun, Okufuye, Olayemi Julius, Alaba, Olumuyiwa Bamidele, Komolafe, Bolaji Olaide, Olusanya, Olayinka Olufunmilayo, Adebare, Adedeji Oladimeji, Arowolo, Oluremi Adufe, Adedeji, Oluwaseun Bukonla
Categories
benchmark, evaluation, dataset
Published
2026-09-30
Last seen by the radar
2026-09-30
Downloads
0
Views
0
Radar score
51.96 / 100 (how it is scored)
Why it scored so
Matched: benchmark, dataset, evaluat; Recency discount: updated event ×0.5; Primary record: Zenodo
Related links
https://doi.org/10.5281/zenodo.23063579
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Zenodo