Data and code for “Revealing a Recurring Nitrate–Sulfate Hydrochemical Association in a Rapidly Urbanizing River Basin”

Published: 1 November 2026| Version 1 | DOI: 10.17632/2kbxyzsczr.1
Contributors:
Qiancheng Li, yilei yu, Jiyi Jiang, Jianxing Wang, Junjie Xu

Description

This dataset contains the research data and analysis code associated with the manuscript “Revealing a Recurring Nitrate–Sulfate Hydrochemical Association in a Rapidly Urbanizing River Basin”. The dataset includes hydrochemical observations collected from surface water and groundwater in the Wenyu River Basin, Beijing, during four sampling campaigns (April 2017, August 2017, October 2017, and January 2018). The available variables include physicochemical parameters, major ions, and dissolved inorganic nitrogen species used in the hydrochemical, positive matrix factorization (PMF), and machine-learning analyses. The repository also provides the Python code used for the PMF and machine-learning analyses. The PMF workflow includes complete-case screening, factor-number diagnostics, random-start stability assessment, uncertainty-weighting sensitivity analysis, WY27 exclusion analysis, and site-block bootstrap evaluation. The machine-learning workflow includes site-grouped nested cross-validation, baseline and nonlinear models, leave-one-campaign-out evaluation, site-cluster bootstrap uncertainty analysis, out-of-fold SHAP interpretation, and sensitivity analyses. These files are provided to support transparency, reproducibility, and independent evaluation of the analyses reported in the associated manuscript.

Files

Categories

Environmental Science, Water Science

Licence