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.
No takes yet. Share an insight, caveat, or question.
Cinkus et al. (2026) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: