Hydrochem, an Integrated R Package for the Analysis and Visualization of Hydrochemical Data
Year: 2026
Type: article
Abstract: Hydrochemical data are essential for understanding groundwater flow, hydrobiogeochemical processes, contamination sources, and assessing groundwater quality. Despite the increasing availability of complex hydrochemical datasets, current tools for processing and visualizing these data-mainly spreadsheets and commercial GUI software-have significant limitations in scalability, reproducibility, and flexibility. Programming languages such as R offer powerful alternatives but remain underutilized in hydrogeochemistry because of the perceived complexity of coding. To address this gap, we present hydrochem, an open-source R package designed to facilitate comprehensive hydrochemical data analysis through user-friendly and customizable functions. The package supports essential tasks such as unit conversion, handling of censored data, ionic balance calculation, water type classification, and a range of hydrochemical indices relevant to water quality. It also provides advanced graphical tools including Piper, Durov, Stiff, Collins, Schoeller, Gibbs, and ternary diagrams to support the interpretation of water chemistry. By integrating reproducible workflows and leveraging the broader R ecosystem, hydrochem lowers the technical barrier for hydrogeochemists and environmental scientists, thereby facilitating the analysis of hydrochemical datasets of varying complexity, improving the reliability of results, and supporting informed water resource management decisions.
Source: Ground Water
DOI: 10.1111/gwat.70110
Authors: Guillaume Cinkus, Raphaël Bondu
Language: English
Subfield: Water Science and Technology
Field: Environmental Science
Domain: Physical Sciences
Open Access status: hybrid
Estimated APC paid: $4,100
OpenAlex ID: W7222759986
