R code for: Oxide-occluded to calcium-bound - urbanization and soil phosphorus in tropical West Africa
Abstract
Initial release accompanying submission of the manuscript "Oxide-occluded to calcium-bound: urbanization increases soil phosphorus stocks and diversifies pools in a tropical West African agroecosystem" (Asabere & Sauer) to the Journal of Geophysical Research: Biogeosciences. Contents R code reproducing all statistical analyses and Figures 4–7 of the manuscript: Figure4.R — P stocks across urbanization duration and intensity Figure5.R — relative contribution of P fractions Figure6.R — bivariate relationships between plant-available P and reserve pools Figure7.R — multi-group structural equation models run_full_analysis.R — master script running the full pipeline load_packages.R — dependency installation download_data.R — retrieves the dataset from Dataverse Figures 1–3 and 8 are maps and conceptual schemes not generated by code. Data The analysis requires the accompanying dataset, deposited separately in the University of Göttingen Research Data Repository (GRO.data): https://doi.org/10.25625/DA3TOR Run download_data.R to fetch it, or place MAIN_DATA_P_fractions_2026.csv in the data/ folder manually. Requirements R ≥ 4.0.0. Run source("scripts/utils/load_packages.R") to install dependencies. Licence CC BY 4.0 Funding German Research Foundation (DFG), project number 467340364.
Publication details
- Journal / source
- Zenodo (CERN European Organization for Nuclear Research)
- Publication date
- 24 July 2026