Logo Lanfrica

sasabere/phosphorus-urbanization-kumasi

Domaine:

agriculture

Type de record:

software
Créateur:
sas
Hôte:
These codes support analysis and visualization of the study on soil phosphorus dynamics in tropical soils of Kumasi, Ghana # Urbanization and Soil Phosphorus in Tropical West Africa ## Overview R code and analysis pipeline for the peer-reviewed manuscript: **"Oxide-occluded to calcium-bound: Urbanization increases soil phosphorus stocks and diversifies pools in tropical West African agroecosystems"** *Journal of Geophysical Research: Biogeosciences* (2026) [DOI pending] ------------------------------------------------------------------------ ## Key Findings - **Urbanization more than doubles soil P stocks** in tropical urban croplands - **Calcium-bound P emerges as a major pool** — atypical in strongly weathered tropical soils and masked in standard P fractionation schemes - **Dual-pathway control on available P**: natively by pedogenic oxides + introduced calcium pathways under urbanization - **Tropical urban arable soils act as inadvertent P sinks**, with potential to be harnessed for sustainable food production ------------------------------------------------------------------------ ## Quick Start ``` r # 1. Install required packages source("scripts/utils/load_packages.R") # 2. Download data from Göttingen Dataverse source("data/download_data.R") # 3. Reproduce all figures source("scripts/run_full_analysis.R") ``` ------------------------------------------------------------------------ ## Repository Structure ``` phosphorus-urbanization-kumasi/ ├── README.md # This file ├── LICENSE # CC BY 4.0 license ├── CITATION.cff # Citation metadata ├── .gitignore # Excludes data files and local outputs │ ├── scripts/ │ ├── run_full_analysis.R # Master script — runs the entire pipeline │ │ │ └── utils/ │ ├── load_packages.R # Installs and loads all required packages │ ├── Figure4.R # P fractions across urbanisation classes (panels a–f) │ ├── Figure5.R # Mean relative proportions of P fractions │ ├── Figure6.R …