{
  "_id": "6a3bb31c5cdecea1d682c10f",
  "Package": "hydrochem",
  "Title": "Analysis and Visualization Tools for Hydrochemical Analysis",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Guillaume\", \"Cinkus\", , \"guillaume.cinkus@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-2877-6551\")),\nperson(\"Raphaël\", \"Bondu\", , \"raphael.bondu@umontpellier.fr\", role = \"aut\",\ncomment = c(ORCID = \"0000-0003-3838-6693\"))\n)",
  "Description": "Provides a comprehensive suite of tools for processing,\nanalyzing, and visualizing hydrochemical data in a reproducible\nand programmatic workflow. Implements unit conversion, censored\ndata management, ionic balance calculation, water type\nclassification, and a range of hydrochemical indices relevant\nto water quality assessment. Offers advanced visualization\nfunctions for generating Piper (Piper, 1944,\n<doi:10.1029/TR025i006p00914>), Durov (Durov, 1948), Stiff\n(Stiff, 1951, <doi:10.2118/951376-G>), Collins (Collins, 1923,\n<doi:10.1021/ie50160a030>), Schoeller (Schoeller, 1935), Gibbs\n(Gibbs, 1970, <doi:10.1126/science.170.3962.1088>), and ternary\ndiagrams — the standard graphical tools used in hydrochemical\ninterpretation.  Unlike existing solutions that rely on\nspreadsheets or proprietary graphical software, 'hydrochem' is\ndesigned for scalability and reproducibility, lowering the\ntechnical barrier for hydrochemists working with datasets of\nvarying complexity. It integrates seamlessly into modern R\nworkflows and supports rigorous water resource management and\nresearch.",
  "License": "GPL-2",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-24 10:33:04 UTC",
    "User": "root"
  },
  "Author": "Guillaume Cinkus [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2877-6551>), Raphaël Bondu [aut]\n(ORCID: <https://orcid.org/0000-0003-3838-6693>)",
  "Maintainer": "Guillaume Cinkus <guillaume.cinkus@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-24 08:37:08 UTC",
  "RemoteUrl": "https://github.com/cran/hydrochem",
  "RemoteRef": "HEAD",
  "RemoteSha": "690fa930c20662a4430b126562ee5125c77c01d4",
  "MD5sum": "a03a637d932f118510ebbe05bfc301fd",
  "_user": "cran",
  "_type": "src",
  "_file": "hydrochem_0.1.0.tar.gz",
  "_fileid": "1663c1adbe0c408f16fba6120969327ee2965f73ec81c78649fec27c31eb24d6",
  "_filesize": 285429,
  "_sha256": "1663c1adbe0c408f16fba6120969327ee2965f73ec81c78649fec27c31eb24d6",
  "_created": "2026-06-24T10:33:04.000Z",
  "_published": "2026-06-24T10:36:12.828Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83173325085,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7847018753"
    },
    {
      "job": 83173325131,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7847018121"
    },
    {
      "job": 83172708723,
      "time": 206,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7846963830"
    },
    {
      "job": 83173325084,
      "time": 144,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7847016486"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/28092184800",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/hydrochem",
  "_commit": {
    "id": "690fa930c20662a4430b126562ee5125c77c01d4",
    "author": "Guillaume Cinkus <guillaume.cinkus@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1782290228
  },
  "_maintainer": {
    "name": "Guillaume Cinkus",
    "email": "guillaume.cinkus@gmail.com",
    "login": "busemorose",
    "description": "",
    "uuid": 75677694,
    "orcid": "0000-0002-2877-6551"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cowplot",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.16.2",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.5.1",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "scales",
      "version": ">= 1.4.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-26",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-06-24"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "busemorose",
      "count": 1,
      "uuid": 75677694
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 610,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/hydrochem"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/hydrochem.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-06-24"
    }
  ],
  "_exports": [
    "cai1",
    "cai2",
    "convert_unit",
    "ionic_balance",
    "kelly_ratio",
    "magnesium_hazard",
    "percent_sodium",
    "permeability_index",
    "plot_biplot",
    "plot_collins",
    "plot_durov",
    "plot_gibbs",
    "plot_piper",
    "plot_schoeller",
    "plot_stabler",
    "plot_stiff",
    "plot_ternary",
    "replace_bdl",
    "rsc",
    "sar",
    "save_plot",
    "stat_summary",
    "tds",
    "total_alkalinity",
    "total_hardness",
    "water_type"
  ],
  "_datasets": [
    {
      "name": "data_qc",
      "title": "Hydrochemical dataset from Quebec",
      "object": "data_qc",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "Sample_ID",
        "Sampling_date",
        "Easting_UTMNAD83Z18",
        "Northing_UTMNAD83Z18",
        "Elevation",
        "Geo_units",
        "Hydro_units",
        "Hydro_cond",
        "Artesian_well",
        "Top_open_interval",
        "Bottom_open_interval",
        "Middle_open_interval",
        "Cluster",
        "T",
        "pH",
        "EC",
        "DO",
        "Eh",
        "Ca",
        "Mg",
        "Na",
        "K",
        "Cl",
        "SO4",
        "HCO3",
        "CO3",
        "Fe",
        "Mn",
        "Br",
        "Sr",
        "F",
        "Ba",
        "H2S_HS_S",
        "SiO2",
        "B",
        "Al",
        "Li",
        "NO3_N",
        "NH4_N",
        "PO4_P",
        "DOC",
        "Ag",
        "As",
        "Cd",
        "Cr",
        "Cu",
        "Hg",
        "I",
        "Ni",
        "Pb",
        "Se",
        "Zn",
        "U",
        "d2H",
        "d18O"
      ],
      "rows": 146,
      "table": true,
      "tojson": true
    },
    {
      "name": "hc_data",
      "title": "Example hydrochemical dataset",
      "object": "hc_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "date",
        "EC",
        "HCO3",
        "Cl",
        "NO3",
        "SO4",
        "Ca",
        "Mg",
        "Na",
        "K",
        "SiO2",
        "type"
      ],
      "rows": 59,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cai1",
      "title": "Calculate Chloro-Alkaline Index 1 (CAI-1)",
      "topics": [
        "cai1"
      ]
    },
    {
      "page": "cai2",
      "title": "Calculate Chloro-Alkaline Index 2 (CAI-2)",
      "topics": [
        "cai2"
      ]
    },
    {
      "page": "convert_unit",
      "title": "Convert Ion Concentrations Between Units (mg/L, mmol/L, meq/L)",
      "topics": [
        "convert_unit"
      ]
    },
    {
      "page": "data_qc",
      "title": "Hydrochemical dataset from Quebec",
      "topics": [
        "data_qc"
      ]
    },
    {
      "page": "hc_data",
      "title": "Example hydrochemical dataset",
      "topics": [
        "hc_data"
      ]
    },
    {
      "page": "ionic_balance",
      "title": "Calculate Ionic Balance Error (%)",
      "topics": [
        "ionic_balance"
      ]
    },
    {
      "page": "kelly_ratio",
      "title": "Calculate Kelly Ratio",
      "topics": [
        "kelly_ratio"
      ]
    },
    {
      "page": "magnesium_hazard",
      "title": "Calculate Magnesium Hazard (MH)",
      "topics": [
        "magnesium_hazard"
      ]
    },
    {
      "page": "percent_sodium",
      "title": "Calculate Percent Sodium (%Na)",
      "topics": [
        "percent_sodium"
      ]
    },
    {
      "page": "permeability_index",
      "title": "Calculate Permeability Index (PI)",
      "topics": [
        "permeability_index"
      ]
    },
    {
      "page": "plot_biplot",
      "title": "Plot Biplots from Hydrochemical Data",
      "topics": [
        "plot_biplot"
      ]
    },
    {
      "page": "plot_collins",
      "title": "Plot Collins Diagrams from Hydrochemical Data",
      "topics": [
        "plot_collins"
      ]
    },
    {
      "page": "plot_durov",
      "title": "Plot Durov Diagram from Hydrochemical Data",
      "topics": [
        "plot_durov"
      ]
    },
    {
      "page": "plot_gibbs",
      "title": "Plot Gibbs Diagram from Hydrochemical Data",
      "topics": [
        "plot_gibbs"
      ]
    },
    {
      "page": "plot_piper",
      "title": "Plot Piper Diagram from Hydrochemical Data",
      "topics": [
        "plot_piper"
      ]
    },
    {
      "page": "plot_schoeller",
      "title": "Plot Schoeller Diagrams from Hydrochemical Data",
      "topics": [
        "plot_schoeller"
      ]
    },
    {
      "page": "plot_stabler",
      "title": "Plot Stabler Diagrams from Hydrochemical Data",
      "topics": [
        "plot_stabler"
      ]
    },
    {
      "page": "plot_stiff",
      "title": "Plot Stiff Diagrams from Hydrochemical Data",
      "topics": [
        "plot_stiff"
      ]
    },
    {
      "page": "plot_ternary",
      "title": "Plot Custom Ternary Diagram from Hydrochemical Data",
      "topics": [
        "plot_ternary"
      ]
    },
    {
      "page": "replace_bdl",
      "title": "Replace Values Below Detection Limit (BDL)",
      "topics": [
        "replace_bdl"
      ]
    },
    {
      "page": "rsc",
      "title": "Calculate Residual Sodium Carbonate (RSC)",
      "topics": [
        "rsc"
      ]
    },
    {
      "page": "sar",
      "title": "Calculate Sodium Adsorption Ratio (SAR)",
      "topics": [
        "sar"
      ]
    },
    {
      "page": "save_plot",
      "title": "Save a plot Diagram to File",
      "topics": [
        "save_plot"
      ]
    },
    {
      "page": "stat_summary",
      "title": "Summary Statistics",
      "topics": [
        "stat_summary"
      ]
    },
    {
      "page": "tds",
      "title": "Calculate Total Dissolved Solids (TDS)",
      "topics": [
        "tds"
      ]
    },
    {
      "page": "total_alkalinity",
      "title": "Calculate Total Alkalinity",
      "topics": [
        "total_alkalinity"
      ]
    },
    {
      "page": "total_hardness",
      "title": "Calculate Total Hardness",
      "topics": [
        "total_hardness"
      ]
    },
    {
      "page": "water_type",
      "title": "Determine Water Type",
      "topics": [
        "water_type"
      ]
    }
  ],
  "_rundeps": [
    "cli",
    "cowplot",
    "cpp11",
    "data.table",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 1,
  "_indexed": true,
  "_nocasepkg": "hydrochem",
  "_universes": [
    "cran",
    "busemorose"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-24T10:35:03.000Z",
      "distro": "resolute",
      "commit": "690fa930c20662a4430b126562ee5125c77c01d4",
      "fileid": "0ed8356327ab84820a1c1708e9b1725ce33f8d3098ea1725533c8e2516b7ee07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28092184800"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-06-24T10:35:02.000Z",
      "distro": "resolute",
      "commit": "690fa930c20662a4430b126562ee5125c77c01d4",
      "fileid": "09f1ae3ed1220b3259b8b2f7a313ef68e38c66e7bb43945fc996d9194dbfe196",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28092184800"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-06-24T10:35:45.000Z",
      "commit": "690fa930c20662a4430b126562ee5125c77c01d4",
      "fileid": "55efd9794a3db6121913fd8b626c74c0c463c20714e58a1fa0acb143fa73ce14",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/28092184800"
    }
  ]
}