{
  "_id": "6a226a0acd65a98ecbd46104",
  "Package": "tidywater",
  "Type": "Package",
  "Title": "Water Quality Models for Drinking Water Treatment Processes",
  "Version": "0.10.9000",
  "Authors@R": "c(person(\"Sierra\", \"Johnson\", email = \"sjohnson2@brwncald.com\", role = c(\"aut\", \"cre\")),\nperson(\"Libby\", \"McKenna\", email = \"lmckenna@brwncald.com\", role = c(\"aut\")),\nperson(\"Riley\", \"Mulhern\", email = \"rmulhern@brwncald.com\", role = c(\"aut\"), comment = c(ORCID = \"0000-0001-6293-3672\")),\nperson(\"Chris\", \"Corwin\", email = \"ccorwin@brwncald.com\", role = \"aut\", comment = c(ORCID = \"0000-0002-9462-0352\")),\nperson(\"Rachel\", \"Merrifield\", role = \"ctb\"),\nperson(\"Mayuri\", \"Namasivayam\", role = \"ctb\"),\nperson(\"Phoebe\", \"Chen\", role = \"ctb\"),\nperson(\"Jiaming\", \"Yuan\", role = \"ctb\"),\nperson(\"USEPA\", role = \"cph\", comment = \"Copyright holder of included TELSS fragments (dissolve_pb function)\"),\nperson(\"Brown and Caldwell\", role = c(\"fnd\", \"cph\")\n))",
  "URL": "https://github.com/BrownandCaldwell-Public/tidywater,\nhttps://BrownandCaldwell-Public.github.io/tidywater",
  "BugReports": "https://github.com/BrownandCaldwell-Public/tidywater/issues",
  "Description": "Provides multiple water chemistry-based models and\npublished empirical models in one standard format. As many\nmodels have been included as possible, however, users should be\naware that models have varying degrees of accuracy and\napplicability. To learn more, read the references provided\nbelow for the models implemented. Functions can be chained\ntogether to model a complete treatment process and are designed\nto work in a 'tidyverse' workflow. Models are primarily based\non these sources: Benjamin, M. M. (2002, ISBN:147862308X),\nCrittenden, J. C., Trussell, R., Hand, D., Howe, J. K., &\nTchobanoglous, G., Borchardt, J. H. (2012, ISBN:9781118131473),\nUSEPA. (2001)\n<https://www.epa.gov/sites/default/files/2017-03/documents/wtp_model_v._2.0_manual_508.pdf>.",
  "License": "Apache License (>= 2) | MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Date": "2025-08-18",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://brownandcaldwell-public.r-universe.dev",
  "Date/Publication": "2026-05-06 15:49:46 UTC",
  "RemoteUrl": "https://github.com/brownandcaldwell-public/tidywater",
  "RemoteRef": "HEAD",
  "RemoteSha": "a06e19846eb1d738b2ab0a07ce2e14fb778bf0f2",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 06:13:01 UTC",
    "User": "root"
  },
  "Author": "Sierra Johnson [aut, cre],\nLibby McKenna [aut],\nRiley Mulhern [aut] (ORCID: <https://orcid.org/0000-0001-6293-3672>),\nChris Corwin [aut] (ORCID: <https://orcid.org/0000-0002-9462-0352>),\nRachel Merrifield [ctb],\nMayuri Namasivayam [ctb],\nPhoebe Chen [ctb],\nJiaming Yuan [ctb],\nUSEPA [cph] (Copyright holder of included TELSS fragments (dissolve_pb\nfunction)),\nBrown and Caldwell [fnd, cph]",
  "Maintainer": "Sierra Johnson <sjohnson2@brwncald.com>",
  "MD5sum": "05a2dff83e5e23a8c9c0c446e869ca51",
  "_user": "brownandcaldwell-public",
  "_type": "src",
  "_file": "tidywater_0.10.9000.tar.gz",
  "_fileid": "07d11f4139ef7a831d8950b9c716f7823175246f35afb41e5675b64bacb7d1d8",
  "_filesize": 938428,
  "_sha256": "07d11f4139ef7a831d8950b9c716f7823175246f35afb41e5675b64bacb7d1d8",
  "_created": "2026-06-05T06:13:01.000Z",
  "_published": "2026-06-05T06:17:46.781Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79674289842,
      "time": 200,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430072242"
    },
    {
      "job": 79674289839,
      "time": 206,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430073756"
    },
    {
      "job": 79674289852,
      "time": 204,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430069231"
    },
    {
      "job": 79674289821,
      "time": 222,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430076021"
    },
    {
      "job": 79673743868,
      "time": 291,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430026116"
    },
    {
      "job": 79674289859,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430053713"
    },
    {
      "job": 79674289831,
      "time": 204,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7430073480"
    },
    {
      "job": 79674289854,
      "time": 168,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7430065105"
    },
    {
      "job": 79674289826,
      "time": 156,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7430062563"
    }
  ],
  "_buildurl": "https://github.com/r-universe/brownandcaldwell-public/actions/runs/26998629626",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/brownandcaldwell-public/tidywater",
  "_commit": {
    "id": "a06e19846eb1d738b2ab0a07ce2e14fb778bf0f2",
    "author": "Sierra Johnson <80361498+sierrajohnson@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Add PACl and ACH to chemdose_toc (#36)\n\n* add ach and pacl to chemdose_toc\n\n* fix unit conversion\n\n* add test\n\n* update news for last few PRs\n\n---------\n\nCo-authored-by: Libby McKenna <107077440+libbymckenna@users.noreply.github.com>",
    "time": 1778082586
  },
  "_maintainer": {
    "name": "Sierra Johnson",
    "email": "sjohnson2@brwncald.com",
    "login": "sierrajohnson",
    "description": "",
    "uuid": 80361498
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "ggrepel",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "deSolve",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "brownandcaldwell-public",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 1
    },
    {
      "week": "2025-28",
      "n": 1
    },
    {
      "week": "2025-35",
      "n": 1
    },
    {
      "week": "2025-37",
      "n": 3
    },
    {
      "week": "2025-38",
      "n": 2
    },
    {
      "week": "2025-44",
      "n": 2
    },
    {
      "week": "2026-08",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.9.0",
      "date": "2025-07-07"
    },
    {
      "name": "v0.10.0",
      "date": "2025-08-28"
    }
  ],
  "_topics": [
    "chemistry",
    "drinking-water",
    "r-programming",
    "tidyverse",
    "water"
  ],
  "_stars": 22,
  "_contributors": [
    {
      "user": "sierrajohnson",
      "count": 656,
      "uuid": 80361498
    },
    {
      "user": "libbymckenna",
      "count": 563,
      "uuid": 107077440
    },
    {
      "user": "jiamingy5",
      "count": 389,
      "uuid": 159209678
    },
    {
      "user": "rmerrifield1",
      "count": 24,
      "uuid": 174518361
    },
    {
      "user": "remulhern",
      "count": 22,
      "uuid": 115101284
    },
    {
      "user": "phoebechen19",
      "count": 21,
      "uuid": 175160647
    },
    {
      "user": "bengukilinc",
      "count": 13,
      "uuid": 208694134
    },
    {
      "user": "hzanib",
      "count": 12,
      "uuid": 166854817
    },
    {
      "user": "mayushiva1707",
      "count": 4,
      "uuid": 175149489
    },
    {
      "user": "carter12s",
      "count": 3,
      "uuid": 8097919
    },
    {
      "user": "csomerlot",
      "count": 3,
      "uuid": 1630761
    },
    {
      "user": "jasonmvale",
      "count": 1,
      "uuid": 71791808
    },
    {
      "user": "awohlgemuth",
      "count": 1,
      "uuid": 114503078
    }
  ],
  "_userbio": {
    "uuid": 142610710,
    "type": "organization",
    "name": "Brown and Caldwell - Public"
  },
  "_downloads": {
    "count": 149,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/tidywater"
  },
  "_devurl": "https://github.com/brownandcaldwell-public/tidywater",
  "_pkgdown": "https://BrownandCaldwell-Public.github.io/tidywater",
  "_searchresults": 26,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/tidywater.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/brownandcaldwell-public/tidywater",
  "_realowner": "brownandcaldwell-public",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.6.2",
      "date": "2024-11-05"
    },
    {
      "version": "0.7.0",
      "date": "2025-01-22"
    },
    {
      "version": "0.8.2",
      "date": "2025-05-17"
    },
    {
      "version": "0.9.0",
      "date": "2025-07-03"
    },
    {
      "version": "0.10.0",
      "date": "2025-08-24"
    }
  ],
  "_exports": [
    "%>%",
    "balance_ions",
    "balance_ions_chain",
    "balance_ions_df",
    "biofilter_toc",
    "biofilter_toc_chain",
    "biofilter_toc_df",
    "blend_waters",
    "blend_waters_chain",
    "blend_waters_df",
    "calculate_activity",
    "calculate_corrosion",
    "calculate_corrosion_df",
    "calculate_corrosion_once",
    "calculate_hardness",
    "chemdose_chloramine",
    "chemdose_chloramine_chain",
    "chemdose_chloramine_df",
    "chemdose_chlordecay",
    "chemdose_chlordecay_chain",
    "chemdose_chlordecay_df",
    "chemdose_dbp",
    "chemdose_dbp_chain",
    "chemdose_dbp_df",
    "chemdose_dbp_once",
    "chemdose_ph",
    "chemdose_ph_chain",
    "chemdose_ph_df",
    "chemdose_ph_once",
    "chemdose_toc",
    "chemdose_toc_chain",
    "chemdose_toc_df",
    "chemdose_toc_once",
    "convert_units",
    "convert_water",
    "convert_watermg",
    "correct_k",
    "decarbonate_ph",
    "decarbonate_ph_chain",
    "decarbonate_ph_df",
    "define_water",
    "define_water_chain",
    "define_water_df",
    "define_water_once",
    "dissolve_cu",
    "dissolve_cu_df",
    "dissolve_cu_once",
    "dissolve_pb",
    "dissolve_pb_df",
    "dissolve_pb_once",
    "gac_toc",
    "gac_toc_df",
    "gacbv_toc",
    "gacbv_toc_df",
    "gacrun_toc",
    "gacrun_toc_df",
    "modify_water",
    "modify_water_chain",
    "modify_water_df",
    "opensys_ph",
    "opensys_ph_df",
    "ozonate_bromate",
    "ozonate_bromate_chain",
    "ozonate_bromate_df",
    "pac_toc",
    "pac_toc_chain",
    "pac_toc_df",
    "plot_ions",
    "plot_lead",
    "pluck_water",
    "regulate_toc",
    "regulate_toc_df",
    "solvecost_chem",
    "solvecost_labor",
    "solvecost_power",
    "solvecost_solids",
    "solvect_chlorine",
    "solvect_chlorine_df",
    "solvect_chlorine_once",
    "solvect_o3",
    "solvect_o3_df",
    "solvect_o3_once",
    "solvedose_alk",
    "solvedose_alk_df",
    "solvedose_alk_once",
    "solvedose_ph",
    "solvedose_ph_df",
    "solvedose_ph_once",
    "solvemass_chem",
    "solvemass_solids",
    "solveresid_o3",
    "solveresid_o3_df",
    "solveresid_o3_once",
    "summarise_wq",
    "summarize_wq"
  ],
  "_datasets": [
    {
      "name": "bromatecoeffs",
      "title": "Data frame of bromate coefficients for predicting bromate formation during ozonation",
      "object": "bromatecoeffs",
      "class": [
        "data.frame"
      ],
      "fields": [
        "model",
        "ammonia",
        "A",
        "a",
        "b",
        "c",
        "d",
        "e",
        "f",
        "g",
        "h",
        "i",
        "I"
      ],
      "rows": 7,
      "table": true,
      "tojson": true
    },
    {
      "name": "chloramine_conv",
      "title": "Data frame of conversion factors for estimating DBP formation from chloramines",
      "object": "chloramine_conv",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "alias",
        "percent"
      ],
      "rows": 17,
      "table": true,
      "tojson": true
    },
    {
      "name": "cl2coeffs",
      "title": "Data frame of Cl2 decay coefficients",
      "object": "cl2coeffs",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "treatment",
        "a",
        "b",
        "c"
      ],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "dbp_correction",
      "title": "Data frame of correction factors for estimating DBP formation as a function of location",
      "object": "dbp_correction",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "alias",
        "plant",
        "ds"
      ],
      "rows": 17,
      "table": true,
      "tojson": true
    },
    {
      "name": "dbpcoeffs",
      "title": "Data frame of DBP coefficients for predicting DBP formation",
      "object": "dbpcoeffs",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "alias",
        "group",
        "treatment",
        "A",
        "a",
        "b",
        "c",
        "d",
        "e",
        "f",
        "ph_const"
      ],
      "rows": 47,
      "table": true,
      "tojson": true
    },
    {
      "name": "discons",
      "title": "Dissociation constants and standard enthalpy for weak acids/bases",
      "object": "discons",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "k",
        "deltah"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    },
    {
      "name": "edwardscoeff",
      "title": "Data frame of Edwards model coefficients",
      "object": "edwardscoeff",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ID",
        "x3",
        "x2",
        "x1",
        "k1",
        "k2",
        "b"
      ],
      "rows": 5,
      "table": true,
      "tojson": true
    },
    {
      "name": "leadsol_constants",
      "title": "Data frame of equilibrium constants for lead and copper solubility",
      "object": "leadsol_constants",
      "class": [
        "data.frame"
      ],
      "fields": [
        "species_name",
        "constant_name",
        "log_value",
        "source"
      ],
      "rows": 32,
      "table": true,
      "tojson": true
    },
    {
      "name": "mweights",
      "title": "Molar weights of relevant compounds",
      "object": "mweights",
      "class": [
        "data.frame"
      ],
      "fields": [
        "na",
        "k",
        "cl",
        "so4",
        "mg",
        "ca",
        "hco3",
        "co3",
        "oh",
        "po4",
        "hpo4",
        "h2po4",
        "ocl",
        "nh4",
        "f",
        "mn",
        "pb",
        "br",
        "al",
        "fe",
        "bro3",
        "h3sio4",
        "h2sio4",
        "sio4",
        "bo3",
        "no3",
        "mno4",
        "caco3",
        "caso4",
        "hcl",
        "h2so4",
        "h3po4",
        "naoh",
        "na2co3",
        "nahco3",
        "caoh2",
        "mgoh2",
        "cacl2",
        "ch3cooh",
        "fecl3",
        "na3po4",
        "h2co3",
        "naf",
        "hno3",
        "nh4oh",
        "nh42so4",
        "kmno4",
        "cl2",
        "co2",
        "c",
        "o",
        "b",
        "sio2",
        "nh3",
        "nh2cl",
        "nhcl2",
        "ncl3",
        "n",
        "dic",
        "alum",
        "ferricchloride",
        "ferricsulfate",
        "ach",
        "al2o3"
      ],
      "rows": 1,
      "table": true,
      "tojson": true
    },
    {
      "name": "pactoccoeffs",
      "title": "Data frame of PAC TOC model coefficients",
      "object": "pactoccoeffs",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "pactype",
        "A",
        "a",
        "b",
        "c"
      ],
      "rows": 3,
      "table": true,
      "tojson": true
    },
    {
      "name": "toc_compliance_table",
      "title": "Data frame of TOC removal requirements per Stage 1 DBP Rule",
      "object": "toc_compliance_table",
      "class": [
        "data.frame"
      ],
      "fields": [
        "toc_min",
        "toc_max",
        "alk_min",
        "alk_max",
        "required_compliance"
      ],
      "rows": 9,
      "table": true,
      "tojson": true
    },
    {
      "name": "vlog_removalcts",
      "title": "Data frame of virus log removal CT values",
      "object": "vlog_removalcts",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ph_range",
        "temp_value",
        "ct_range",
        "vlog_removal"
      ],
      "rows": 35,
      "table": true,
      "tojson": true
    },
    {
      "name": "water_df",
      "title": "Data frame of water quality parameters",
      "object": "water_df",
      "class": [
        "data.frame"
      ],
      "fields": [
        "ph",
        "temp",
        "alk",
        "tot_hard",
        "ca",
        "mg",
        "na",
        "k",
        "cl",
        "so4",
        "free_chlorine",
        "tot_po4",
        "tds",
        "cond",
        "toc",
        "doc",
        "uv254"
      ],
      "rows": 12,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "balance_ions",
      "title": "Add an ion to balance overall charge in a water",
      "topics": [
        "balance_ions",
        "balance_ions_df"
      ]
    },
    {
      "page": "biofilter_toc",
      "title": "Determine TOC removal from biofiltration using Terry & Summers BDOC model",
      "topics": [
        "biofilter_toc",
        "biofilter_toc_df"
      ]
    },
    {
      "page": "blend_waters",
      "title": "Determine blended water quality from multiple waters based on mass balance and acid/base equilibrium",
      "topics": [
        "blend_waters",
        "blend_waters_df"
      ]
    },
    {
      "page": "bromatecoeffs",
      "title": "Data frame of bromate coefficients for predicting bromate formation during ozonation",
      "topics": [
        "bromatecoeffs"
      ]
    },
    {
      "page": "calculate_activity",
      "title": "Calculate activity coefficients",
      "topics": [
        "calculate_activity"
      ]
    },
    {
      "page": "calculate_corrosion",
      "title": "Calculate six corrosion and scaling indices (AI, RI, LSI, LI, CSMR, CCPP)",
      "topics": [
        "calculate_corrosion",
        "calculate_corrosion_df"
      ]
    },
    {
      "page": "calculate_hardness",
      "title": "Calculate hardness from calcium and magnesium",
      "topics": [
        "calculate_hardness"
      ]
    },
    {
      "page": "chemdose_chloramine",
      "title": "Calculate chlorine and chloramine Concentrations with the breakpoint cblorination approach",
      "topics": [
        "chemdose_chloramine",
        "chemdose_chloramine_df"
      ]
    },
    {
      "page": "chemdose_chlordecay",
      "title": "Calculate chlorine decay",
      "topics": [
        "chemdose_chlordecay",
        "chemdose_chlordecay_df"
      ]
    },
    {
      "page": "chemdose_dbp",
      "title": "Calculate DBP formation",
      "topics": [
        "chemdose_dbp",
        "chemdose_dbp_df"
      ]
    },
    {
      "page": "chemdose_ph",
      "title": "Calculate new pH and ion balance after chemical addition",
      "topics": [
        "chemdose_ph",
        "chemdose_ph_df"
      ]
    },
    {
      "page": "chemdose_toc",
      "title": "Determine TOC removal from coagulation",
      "topics": [
        "chemdose_toc",
        "chemdose_toc_df"
      ]
    },
    {
      "page": "chloramine_conv",
      "title": "Data frame of conversion factors for estimating DBP formation from chloramines",
      "topics": [
        "chloramine_conv"
      ]
    },
    {
      "page": "cl2coeffs",
      "title": "Data frame of Cl2 decay coefficients",
      "topics": [
        "cl2coeffs"
      ]
    },
    {
      "page": "convert_units",
      "title": "Calculate unit conversions for common compounds",
      "topics": [
        "convert_units"
      ]
    },
    {
      "page": "convert_water",
      "title": "Convert 'water' class object to a dataframe",
      "topics": [
        "convert_water",
        "convert_watermg"
      ]
    },
    {
      "page": "correct_k",
      "title": "Correct acid dissociation constants",
      "topics": [
        "correct_k"
      ]
    },
    {
      "page": "dbp_correction",
      "title": "Data frame of correction factors for estimating DBP formation as a function of location",
      "topics": [
        "dbp_correction"
      ]
    },
    {
      "page": "dbpcoeffs",
      "title": "Data frame of DBP coefficients for predicting DBP formation",
      "topics": [
        "dbpcoeffs"
      ]
    },
    {
      "page": "decarbonate_ph",
      "title": "Apply decarbonation to a water",
      "topics": [
        "decarbonate_ph",
        "decarbonate_ph_df"
      ]
    },
    {
      "page": "define_water",
      "title": "Create a water class object given water quality parameters",
      "topics": [
        "define_water"
      ]
    },
    {
      "page": "define_water_df",
      "title": "Apply 'define_water' within a dataframe and output a column of 'water' class to be chained to other tidywater functions",
      "topics": [
        "define_water_df"
      ]
    },
    {
      "page": "discons",
      "title": "Dissociation constants and standard enthalpy for weak acids/bases",
      "topics": [
        "discons"
      ]
    },
    {
      "page": "dissolve_cu",
      "title": "Calculate Dissolved Copper Concentration",
      "topics": [
        "dissolve_cu"
      ]
    },
    {
      "page": "dissolve_cu_df",
      "title": "Calculate Dissolved Copper Concentration",
      "topics": [
        "dissolve_cu_df"
      ]
    },
    {
      "page": "dissolve_pb",
      "title": "Simulate contributions of various lead solids to total soluble lead",
      "topics": [
        "dissolve_pb",
        "dissolve_pb_df"
      ]
    },
    {
      "page": "edwardscoeff",
      "title": "Data frame of Edwards model coefficients",
      "topics": [
        "edwardscoeff"
      ]
    },
    {
      "page": "gac_toc",
      "title": "Calculate TOC Concentration in GAC system",
      "topics": [
        "gac_toc",
        "gac_toc_df"
      ]
    },
    {
      "page": "gacbv_toc",
      "title": "Calculate maximum bed volumes to stay below target DOC",
      "topics": [
        "gacbv_toc",
        "gacbv_toc_df"
      ]
    },
    {
      "page": "gacrun_toc",
      "title": "Calculate TOC Concentration in GAC system",
      "topics": [
        "gacrun_toc",
        "gacrun_toc_df"
      ]
    },
    {
      "page": "leadsol_constants",
      "title": "Data frame of equilibrium constants for lead and copper solubility",
      "topics": [
        "leadsol_constants"
      ]
    },
    {
      "page": "modify_water",
      "title": "Modify slots in a 'water' class object",
      "topics": [
        "modify_water",
        "modify_water_df"
      ]
    },
    {
      "page": "mweights",
      "title": "Molar weights of relevant compounds",
      "topics": [
        "mweights"
      ]
    },
    {
      "page": "opensys_ph",
      "title": "Calculate pH for water in an open system",
      "topics": [
        "opensys_ph",
        "opensys_ph_df"
      ]
    },
    {
      "page": "ozonate_bromate",
      "title": "Calculate bromate formation",
      "topics": [
        "ozonate_bromate",
        "ozonate_bromate_df"
      ]
    },
    {
      "page": "pac_toc",
      "title": "Calculate DOC Concentration in PAC system",
      "topics": [
        "pac_toc",
        "pac_toc_df"
      ]
    },
    {
      "page": "pactoccoeffs",
      "title": "Data frame of PAC TOC model coefficients",
      "topics": [
        "pactoccoeffs"
      ]
    },
    {
      "page": "plot_ions",
      "title": "Create summary plot of ions from water class",
      "topics": [
        "plot_ions"
      ]
    },
    {
      "page": "plot_lead",
      "title": "Create dissolved lead and DIC contour plot given input data frame",
      "topics": [
        "plot_lead"
      ]
    },
    {
      "page": "pluck_water",
      "title": "Pluck out a single parameter from a 'water' class object",
      "topics": [
        "pluck_water"
      ]
    },
    {
      "page": "regulate_toc",
      "title": "Determine if TOC removal meets Stage 1 DBP Rule requirements",
      "topics": [
        "regulate_toc",
        "regulate_toc_df"
      ]
    },
    {
      "page": "solvecost_chem",
      "title": "Determine chemical cost",
      "topics": [
        "solvecost_chem"
      ]
    },
    {
      "page": "solvecost_labor",
      "title": "Determine labor cost",
      "topics": [
        "solvecost_labor"
      ]
    },
    {
      "page": "solvecost_power",
      "title": "Determine power cost",
      "topics": [
        "solvecost_power"
      ]
    },
    {
      "page": "solvecost_solids",
      "title": "Determine solids disposal cost",
      "topics": [
        "solvecost_solids"
      ]
    },
    {
      "page": "solvect_chlorine",
      "title": "Determine disinfection credit from chlorine.",
      "topics": [
        "solvect_chlorine",
        "solvect_chlorine_df"
      ]
    },
    {
      "page": "solvect_o3",
      "title": "Determine disinfection credit from ozone.",
      "topics": [
        "solvect_o3",
        "solvect_o3_df"
      ]
    },
    {
      "page": "solvedose_alk",
      "title": "Calculate a desired chemical dose for a target alkalinity",
      "topics": [
        "solvedose_alk",
        "solvedose_alk_df"
      ]
    },
    {
      "page": "solvedose_ph",
      "title": "Calculate a desired chemical dose for a target pH",
      "topics": [
        "solvedose_ph",
        "solvedose_ph_df"
      ]
    },
    {
      "page": "solvemass_chem",
      "title": "Convert mg/L of chemical to lb/day",
      "topics": [
        "solvemass_chem"
      ]
    },
    {
      "page": "solvemass_solids",
      "title": "Determine solids lb/day",
      "topics": [
        "solvemass_solids"
      ]
    },
    {
      "page": "solveresid_o3",
      "title": "Determine ozone decay",
      "topics": [
        "solveresid_o3",
        "solveresid_o3_df"
      ]
    },
    {
      "page": "summarize_wq",
      "title": "Create summary table from water class",
      "topics": [
        "summarise_wq",
        "summarize_wq"
      ]
    },
    {
      "page": "toc_compliance_table",
      "title": "Data frame of TOC removal requirements per Stage 1 DBP Rule",
      "topics": [
        "toc_compliance_table"
      ]
    },
    {
      "page": "vlog_removalcts",
      "title": "Data frame of virus log removal CT values",
      "topics": [
        "vlog_removalcts"
      ]
    },
    {
      "page": "water_df",
      "title": "Data frame of water quality parameters",
      "topics": [
        "water_df"
      ]
    }
  ],
  "_pkglogo": "https://github.com/brownandcaldwell-public/tidywater/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/brownandcaldwell-public/tidywater/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "deSolve",
    "dplyr",
    "evaluate",
    "farver",
    "forcats",
    "generics",
    "ggplot2",
    "ggrepel",
    "glue",
    "gtable",
    "highr",
    "isoband",
    "knitr",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "coeff_fitting_chemdose_dbp.Rmd",
      "filename": "coeff_fitting_chemdose_dbp.html",
      "title": "Fitting and using custom coefficients in chemdose_dbp",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Water setup",
        "Fitting DBP coefficients",
        "Summary"
      ],
      "created": "2025-08-28 14:48:32",
      "modified": "2025-08-28 14:48:32",
      "commits": 1
    },
    {
      "source": "tidywater.Rmd",
      "filename": "tidywater.html",
      "title": "Getting started with tidywater",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Defining an example water",
        "Coagulation model",
        "Disinfection model",
        "Summary and Recommended Resources"
      ],
      "created": "2024-10-22 16:36:40",
      "modified": "2025-08-28 14:48:32",
      "commits": 3
    },
    {
      "source": "help_functions_blend_waters.Rmd",
      "filename": "help_functions_blend_waters.html",
      "title": "Blending Multiple Waters",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Blending analysis setup",
        "Well setup",
        "Blending scenarios and finish source setup",
        "Blending multiple sources",
        "Summary"
      ],
      "created": "2024-10-22 16:36:40",
      "modified": "2025-08-28 14:48:32",
      "commits": 5
    },
    {
      "source": "help_functions_chemdose_ph.Rmd",
      "filename": "help_functions_chemdose_ph.html",
      "title": "Helper Functions & Dose Chemicals",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Chemical dosing setup",
        "Multi-scenario setup and intro to _df functions",
        "chemdose_ph_df and pluck_water",
        "solvedose_ph_df",
        "Summary"
      ],
      "created": "2024-10-22 16:36:40",
      "modified": "2025-08-28 14:48:32",
      "commits": 5
    },
    {
      "source": "intro.Rmd",
      "filename": "intro.html",
      "title": "Introduction to tidywater: Basic functions",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Getting started",
        "Defining a water",
        "Plotting and balancing ions",
        "Converting units",
        "Modelling assumptions",
        "Ionic strength",
        "Hardness",
        "Total and dissolved organic carbon",
        "Summary and Recommended Resources"
      ],
      "created": "2024-10-22 16:36:40",
      "modified": "2025-07-07 22:15:53",
      "commits": 3
    }
  ],
  "_score": 8.137607270504631,
  "_indexed": true,
  "_nocasepkg": "tidywater",
  "_universes": [
    "brownandcaldwell-public",
    "sierrajohnson"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.10.9000",
      "date": "2026-06-05T06:15:21.000Z",
      "distro": "noble",
      "commit": "a06e19846eb1d738b2ab0a07ce2e14fb778bf0f2",
      "fileid": "fa89c28cf8b8a98b9422850f05f227d0d697146c5dd5700434354236b8143741",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brownandcaldwell-public/actions/runs/26998629626"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.10.9000",
      "date": "2026-06-05T06:15:26.000Z",
      "distro": "noble",
      "commit": "a06e19846eb1d738b2ab0a07ce2e14fb778bf0f2",
      "fileid": "4109c6a3c143ef2887710f22dc6f421b1cde3beaa7c16888219865ef4742fa1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brownandcaldwell-public/actions/runs/26998629626"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.10.9000",
      "date": "2026-06-05T06:15:38.000Z",
      "commit": "a06e19846eb1d738b2ab0a07ce2e14fb778bf0f2",
      "fileid": "2a4042a60955a053b8c9c405f44a615d65cac3258fc4cdb0d17134ecfe97c4ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brownandcaldwell-public/actions/runs/26998629626"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.10.9000",
      "date": "2026-06-05T06:16:02.000Z",
      "commit": "a06e19846eb1d738b2ab0a07ce2e14fb778bf0f2",
      "fileid": "ab14974c51339bd2a94179b37b5abe35e2a89e0a4c14d92eba3f60f6898416a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brownandcaldwell-public/actions/runs/26998629626"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.10.9000",
      "date": "2026-06-05T06:15:24.000Z",
      "commit": "a06e19846eb1d738b2ab0a07ce2e14fb778bf0f2",
      "fileid": "6f1006bda47afb8e01bf65da6ac68c6aaa2eb0834b17450ddc074cc5cc66e9ce",
      "status": "success",
      "buildurl": "https://github.com/r-universe/brownandcaldwell-public/actions/runs/26998629626"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.10.9000",
      "date": "2026-06-05T06:15:03.000Z",
      "commit": "a06e19846eb1d738b2ab0a07ce2e14fb778bf0f2",
      "fileid": "2b36b6e40d025ff89348246760816d4ea6641471e4bb130dd201bb4d4b4038bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brownandcaldwell-public/actions/runs/26998629626"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.10.9000",
      "date": "2026-06-05T06:14:23.000Z",
      "commit": "a06e19846eb1d738b2ab0a07ce2e14fb778bf0f2",
      "fileid": "b2ea8e02d6b843332c64e7465ab9485cee3b273fb60dfe67ce7349774ed61c6f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brownandcaldwell-public/actions/runs/26998629626"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.10.9000",
      "date": "2026-06-05T06:14:22.000Z",
      "commit": "a06e19846eb1d738b2ab0a07ce2e14fb778bf0f2",
      "fileid": "f83a44e679d4c45d499e554de89821287f3f9aa73107c0f3124d7d8e0694efa6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/brownandcaldwell-public/actions/runs/26998629626"
    }
  ]
}