
First archived release of the code used in the article:
S. Grosse, T. Berchoux, M. Check, H. Belhouchette, N. Baghdadi (2026).
Synergies and trade-offs in vulnerability to climate hazard: a structural and territorial analysis of South African maize farming systems.
Current title at time of release of v0.9.0
This repository provides the scripts used to analyse the structural and territorial dimensions of vulnerability in South African maize farming systems. The framework focuses on identifying synergies and trade-offs between sensitivity and adaptive capacity indicators across multiple forms of capital (natural, human, social, physical, and financial).
The analytical pipeline enables the detection of statistically significant relationships, structural patterns, and typological differences in vulnerability profiles at both city and cluster levels.
Python scripts for:
Additional materials:
scripts/ ensuring reproducibility and standardized executionrequirements.txt listing all Python dependenciesThe data/ folder contains the structured dataset used for the analyses and precomputed correlation outputs required to reproduce the main results.
Any sensitive or confidential raw survey material is not included.
data/ – dataset and processed analytical outputs
scripts/ – main Python scripts for clustering, correlation analysis, and PCA
assets/ – example figures and visualization outputs
tools/ – auxiliary scripts
outputs/ – generated figures and Excel outputs (created during execution)
requirements.txt – list of Python dependencies
README.md – documentation and execution instructions
If you use this repository in your research, please cite:
If you use this software, please cite it as below.S. Grosse, T. Berchoux, M. Check, H. Belhouchette, N. Baghdadi (2026).
Synergies and trade-offs in vulnerability to climate hazard: a structural and territorial analysis of South African maize farming systems.
[Journal Name].