{
  "_id": "6a286946732311cd875872c8",
  "Package": "okBATHTUB",
  "Title": "Empirical Reservoir Eutrophication Modelling with Oklahoma\nCalibration",
  "Version": "0.1.11",
  "Authors@R": "person(\"Jordon\", \"Henderson\",\nrole  = c(\"aut\", \"cre\", \"cph\"),\nemail = \"jordon.henderson@owrb.ok.gov\")",
  "Description": "Empirical reservoir water quality modelling using Walker's\n'BATHTUB' Model 1 (second-order available-phosphorus\nsedimentation) from Walker (1985)\n<https://hdl.handle.net/11681/13884> and Walker (1996)\n<https://hdl.handle.net/11681/4353> as the default retention\nmodel. The Vollenweider (1976) hydraulic- residence form and\nthe equivalent formulation of Larsen and Mercier (1976) are\navailable as alternatives. Predicts in-lake total phosphorus,\ntotal nitrogen, chlorophyll-a, and Secchi depth from tributary\nnutrient and hydraulic loading inputs, and computes Carlson\n(1977) <doi:10.4319/lo.1977.22.2.0361> Trophic State Indices.\nOptional Oklahoma-specific chlorophyll and Secchi regression\ncoefficients are provided, calibrated from publicly available\nstate lake monitoring data. Supports single-segment and\nmulti-segment reservoir configurations and load-reduction\nscenario analysis. Designed to complement watershed loading\nmodels such as the Soil and Water Assessment Tool ('SWAT';\n<https://swat.tamu.edu>) and the U.S. EPA Hydrologic and Water\nQuality System ('HAWQS'; <https://hawqs.tamu.edu>) in a\ntwo-model nutrient management workflow.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "URL": "https://0011235813.github.io/Oklahoma-BATHTUB/,\nhttps://github.com/0011235813/Oklahoma-BATHTUB",
  "BugReports": "https://github.com/0011235813/Oklahoma-BATHTUB/issues",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://0011235813.r-universe.dev",
  "Date/Publication": "2026-06-09 18:35:21 UTC",
  "RemoteUrl": "https://github.com/0011235813/oklahoma-bathtub",
  "RemoteRef": "HEAD",
  "RemoteSha": "508569402e8f0d197d130d276e2978a9203c2a13",
  "RemoteSubdir": "okBATHTUB",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 19:24:54 UTC",
    "User": "root"
  },
  "Author": "Jordon Henderson [aut, cre, cph]",
  "Maintainer": "Jordon Henderson <jordon.henderson@owrb.ok.gov>",
  "MD5sum": "df47b22ad19cd015891020d57214ae67",
  "_user": "0011235813",
  "_type": "src",
  "_file": "okBATHTUB_0.1.11.tar.gz",
  "_fileid": "3ea63ab6016e4da4d05e342a1b15276f7c38d88b907f087ea8db69184127f008",
  "_filesize": 914329,
  "_sha256": "3ea63ab6016e4da4d05e342a1b15276f7c38d88b907f087ea8db69184127f008",
  "_created": "2026-06-09T19:24:54.000Z",
  "_published": "2026-06-09T19:28:06.556Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80408393450,
      "time": 158,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7517996012"
    },
    {
      "job": 80408393498,
      "time": 130,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7517986576"
    },
    {
      "job": 80408393501,
      "time": 92,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7517972330"
    },
    {
      "job": 80408393493,
      "time": 106,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7517977717"
    },
    {
      "job": 80407843402,
      "time": 172,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7517938032"
    },
    {
      "job": 80408393449,
      "time": 96,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7517974465"
    },
    {
      "job": 80408393454,
      "time": 82,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7517968913"
    },
    {
      "job": 80408393563,
      "time": 74,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7517965996"
    },
    {
      "job": 80408393516,
      "time": 79,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7517967283"
    }
  ],
  "_buildurl": "https://github.com/r-universe/0011235813/actions/runs/27230142178",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/0011235813/oklahoma-bathtub",
  "_commit": {
    "id": "508569402e8f0d197d130d276e2978a9203c2a13",
    "author": "0011235813 <jordon.henderson@owrb.ok.gov>",
    "committer": "0011235813 <jordon.henderson@owrb.ok.gov>",
    "message": "Add .gitignore for R build artifacts\n\nIgnore *.tar.gz so future package tarball builds don't show as untracked.\n\nCo-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>\n",
    "time": 1781030121
  },
  "_maintainer": {
    "name": "Jordon Henderson",
    "email": "jordon.henderson@owrb.ok.gov",
    "login": "0011235813",
    "description": "Data analyst & environmental scientist focused on water resources, spatial analysis, and data-driven decision support using R, GIS, and Shiny.",
    "uuid": 169918085
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "version": ">= 1.3.0",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "version": ">= 1.5.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "0011235813",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-19",
      "n": 23
    },
    {
      "week": "2026-20",
      "n": 15
    },
    {
      "week": "2026-21",
      "n": 8
    },
    {
      "week": "2026-22",
      "n": 1
    },
    {
      "week": "2026-23",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "0011235813",
      "count": 54,
      "uuid": 169918085
    }
  ],
  "_userbio": {
    "uuid": 169918085,
    "type": "user",
    "name": "Jordon Henderson",
    "description": "Data analyst & environmental scientist focused on water resources, spatial analysis, and data-driven decision support using R, GIS, and Shiny."
  },
  "_downloads": {
    "count": 194,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/okBATHTUB"
  },
  "_devurl": "https://github.com/0011235813/oklahoma-bathtub",
  "_searchresults": 0,
  "_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/okBATHTUB.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/0011235813/oklahoma-bathtub",
  "_realowner": "0011235813",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.10",
      "date": "2026-05-29"
    }
  ],
  "_exports": [
    "ok_hydraulics",
    "ok_inlake",
    "ok_lake_ecoregion",
    "ok_load",
    "ok_load_multi",
    "ok_plot_response",
    "ok_plot_scenario",
    "ok_plot_segments",
    "ok_plot_tsi",
    "ok_reservoir",
    "ok_reservoir_summary",
    "ok_retention",
    "ok_scenario",
    "ok_scenario_sweep",
    "ok_segment",
    "ok_segment_chain",
    "ok_segment_summary",
    "ok_theme",
    "ok_trophic_colors",
    "ok_tsi",
    "ok_tsi_observed"
  ],
  "_datasets": [
    {
      "name": "ok_lake_ecoregions",
      "title": "Oklahoma lakes -> EPA Level III ecoregion lookup",
      "object": "ok_lake_ecoregions",
      "class": [
        "data.frame"
      ],
      "fields": [
        "lake_name",
        "eco_l3_code",
        "eco_l3_name",
        "n_sites_total",
        "n_sites_tier1",
        "latitude",
        "longitude",
        "max_yrs_tp",
        "max_yrs_chla",
        "max_yrs_secchi",
        "max_yrs_tn"
      ],
      "rows": 138,
      "table": true,
      "tojson": true
    },
    {
      "name": "ok_reservoirs",
      "title": "Oklahoma reservoir morphometry dataset",
      "object": "ok_reservoirs",
      "class": [
        "data.frame"
      ],
      "fields": [
        "lake_name",
        "alt_name",
        "county",
        "managing_agency",
        "primary_use",
        "surface_area_ha",
        "mean_depth_m",
        "max_depth_m",
        "volume_m3",
        "watershed_area_km2",
        "eco_l3_code",
        "eco_l3_name",
        "latitude",
        "longitude",
        "year_completed",
        "data_quality",
        "notes"
      ],
      "rows": 40,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ok_hydraulics",
      "title": "Compute reservoir hydraulic characteristics",
      "topics": [
        "ok_hydraulics"
      ]
    },
    {
      "page": "ok_inlake",
      "title": "Predict in-lake water quality concentrations",
      "topics": [
        "ok_inlake"
      ]
    },
    {
      "page": "ok_lake_ecoregion",
      "title": "Look up an Oklahoma lake's EPA Level III ecoregion",
      "topics": [
        "ok_lake_ecoregion"
      ]
    },
    {
      "page": "ok_lake_ecoregions",
      "title": "Oklahoma lakes -> EPA Level III ecoregion lookup",
      "topics": [
        "ok_lake_ecoregions"
      ]
    },
    {
      "page": "ok_load",
      "title": "Assemble tributary load inputs",
      "topics": [
        "ok_load"
      ]
    },
    {
      "page": "ok_load_multi",
      "title": "Assemble tributary loads from multiple tributaries",
      "topics": [
        "ok_load_multi"
      ]
    },
    {
      "page": "ok_plot_response",
      "title": "Plot a load-response curve for a reservoir",
      "topics": [
        "ok_plot_response"
      ]
    },
    {
      "page": "ok_plot_scenario",
      "title": "Plot scenario comparison from ok_scenario() output",
      "topics": [
        "ok_plot_scenario"
      ]
    },
    {
      "page": "ok_plot_segments",
      "title": "Plot a longitudinal water quality profile across reservoir segments",
      "topics": [
        "ok_plot_segments"
      ]
    },
    {
      "page": "ok_plot_tsi",
      "title": "Plot a Carlson TSI deviation diagram",
      "topics": [
        "ok_plot_tsi"
      ]
    },
    {
      "page": "ok_reservoir",
      "title": "Look up Oklahoma reservoir morphometry",
      "topics": [
        "ok_reservoir"
      ]
    },
    {
      "page": "ok_reservoir_summary",
      "title": "Summarise the bundled reservoir dataset coverage",
      "topics": [
        "ok_reservoir_summary"
      ]
    },
    {
      "page": "ok_reservoirs",
      "title": "Oklahoma reservoir morphometry dataset",
      "topics": [
        "ok_reservoirs"
      ]
    },
    {
      "page": "ok_retention",
      "title": "Estimate nutrient retention coefficients",
      "topics": [
        "ok_retention"
      ]
    },
    {
      "page": "ok_scenario",
      "title": "Run load reduction scenarios and compare predicted water quality responses",
      "topics": [
        "ok_scenario"
      ]
    },
    {
      "page": "ok_scenario_sweep",
      "title": "Sweep TP reduction scenarios automatically",
      "topics": [
        "ok_scenario_sweep"
      ]
    },
    {
      "page": "ok_segment",
      "title": "Chain multiple reservoir segments sequentially",
      "topics": [
        "ok_segment"
      ]
    },
    {
      "page": "ok_segment_chain",
      "title": "Chain multiple reservoir segments from a list",
      "topics": [
        "ok_segment_chain"
      ]
    },
    {
      "page": "ok_segment_summary",
      "title": "Summarise a multi-segment chain as a data frame",
      "topics": [
        "ok_segment_summary"
      ]
    },
    {
      "page": "ok_theme",
      "title": "Oklahoma water-themed ggplot2 theme",
      "topics": [
        "ok_theme"
      ]
    },
    {
      "page": "ok_trophic_colors",
      "title": "Oklahoma water-themed ggplot2 palette",
      "topics": [
        "ok_trophic_colors"
      ]
    },
    {
      "page": "ok_tsi",
      "title": "Compute Carlson Trophic State Indices",
      "topics": [
        "ok_tsi"
      ]
    },
    {
      "page": "ok_tsi_observed",
      "title": "Compute Carlson TSI from observed values only",
      "topics": [
        "ok_tsi_observed"
      ]
    },
    {
      "page": "print.okBATHTUB",
      "title": "Print method for okBATHTUB objects",
      "topics": [
        "print.okBATHTUB"
      ]
    },
    {
      "page": "summary.okBATHTUB",
      "title": "Summary method for okBATHTUB objects",
      "topics": [
        "summary.okBATHTUB"
      ]
    }
  ],
  "_readme": "https://github.com/0011235813/oklahoma-bathtub/raw/HEAD/okBATHTUB/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "getting-started.Rmd",
      "filename": "getting-started.html",
      "title": "Getting Started with okBATHTUB",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "The core pipeline",
        "Step 1 — Load inputs",
        "Step 2 — Hydraulics",
        "Step 3 — Nutrient retention",
        "Step 4 — In-lake predictions",
        "Step 5 — Trophic State Index",
        "Full pipeline in one call",
        "Using the bundled reservoir lookup",
        "Multiple tributaries",
        "Computing TSI from observed data",
        "Comparing coefficient sets",
        "References"
      ],
      "created": "2026-05-09 18:05:28",
      "modified": "2026-05-11 18:10:47",
      "commits": 4
    },
    {
      "source": "hawqs-linkage.Rmd",
      "filename": "hawqs-linkage.html",
      "title": "Linking OK-HAWQS/SWAT Outputs to okBATHTUB",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "The Two-Model Workflow",
        "OK-HAWQS Output File Structure",
        "Reading OK-HAWQS Output",
        "Simulated Example: 604(b) Sensitive Water Supply Workflow",
        "Converting HAWQS Loads to okBATHTUB Inputs",
        "Baseline BATHTUB Run",
        "BMP Scenario Analysis",
        "Interannual Variability Analysis",
        "Load-Response Curve with HAWQS Context",
        "Best Practices for HAWQS-BATHTUB Linkage",
        "References"
      ],
      "created": "2026-05-09 18:05:28",
      "modified": "2026-05-12 18:12:40",
      "commits": 9
    },
    {
      "source": "oklahoma-workflow.Rmd",
      "filename": "oklahoma-workflow.html",
      "title": "Oklahoma Reservoir Workflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Reservoir lookup",
        "Choosing a coefficient set",
        "Worked example: Arcadia Lake",
        "Comparing to observed monitoring data",
        "Multi-segment reservoir modelling",
        "Load reduction scenarios",
        "References"
      ],
      "created": "2026-05-09 18:05:28",
      "modified": "2026-05-12 15:04:39",
      "commits": 15
    }
  ],
  "_score": 4.954242509439325,
  "_indexed": true,
  "_nocasepkg": "okbathtub",
  "_universes": [
    "0011235813"
  ],
  "_previous": "0.1.10",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.11",
      "date": "2026-06-09T19:27:32.000Z",
      "distro": "noble",
      "commit": "508569402e8f0d197d130d276e2978a9203c2a13",
      "fileid": "7a8d6c61ed1ad7f2ecc9c98fa16a6aaa02dd05800a8d9789cd305974aa4e6a72",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/0011235813/actions/runs/27230142178"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.11",
      "date": "2026-06-09T19:27:04.000Z",
      "distro": "noble",
      "commit": "508569402e8f0d197d130d276e2978a9203c2a13",
      "fileid": "af497b4b0d74c31d75254c15f88700d0f9d3b44469e1074425259a5c4eda2ab1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/0011235813/actions/runs/27230142178"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.11",
      "date": "2026-06-09T19:26:28.000Z",
      "commit": "508569402e8f0d197d130d276e2978a9203c2a13",
      "fileid": "3a6b7ce60fb33b25c9a64a71d54df94d190ea5c9ea058a7469316542fdbacaad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/0011235813/actions/runs/27230142178"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.11",
      "date": "2026-06-09T19:26:40.000Z",
      "commit": "508569402e8f0d197d130d276e2978a9203c2a13",
      "fileid": "65f2ef4e7f27ab087ae0ab1ba1cd5a50b80c5ae21728f8d5b4c6eb58f3bdc67d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/0011235813/actions/runs/27230142178"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.11",
      "date": "2026-06-09T19:26:46.000Z",
      "commit": "508569402e8f0d197d130d276e2978a9203c2a13",
      "fileid": "91658e9c9d656aa3bff447e24df2760fbadcfa1ae508ae9501d332e97251e6be",
      "status": "success",
      "buildurl": "https://github.com/r-universe/0011235813/actions/runs/27230142178"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.11",
      "date": "2026-06-09T19:26:08.000Z",
      "commit": "508569402e8f0d197d130d276e2978a9203c2a13",
      "fileid": "a61f79207020ebcfbc1512c438fb117aad140516f1f05b9e8157c0d9584bc1fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/0011235813/actions/runs/27230142178"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.11",
      "date": "2026-06-09T19:26:01.000Z",
      "commit": "508569402e8f0d197d130d276e2978a9203c2a13",
      "fileid": "d53f89d59e382e03626a51d6d6dd79a294c36bd7a8af3f224ca5b75016bfef2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/0011235813/actions/runs/27230142178"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.11",
      "date": "2026-06-09T19:26:04.000Z",
      "commit": "508569402e8f0d197d130d276e2978a9203c2a13",
      "fileid": "dce257f6d7ee3ffd4ba4676554fa8e413714ce870bae22dec59ff39065d59fcf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/0011235813/actions/runs/27230142178"
    }
  ]
}