{
  "_id": "6a198e8cacfb0bcc41dfcc64",
  "Package": "okBATHTUB",
  "Title": "Empirical Reservoir Eutrophication Modelling with Oklahoma\nCalibration",
  "Version": "0.1.10",
  "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",
  "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",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-29 12:59:59 UTC",
    "User": "root"
  },
  "Author": "Jordon Henderson [aut, cre, cph]",
  "Maintainer": "Jordon Henderson <jordon.henderson@owrb.ok.gov>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-05-29 12:31:01 UTC",
  "RemoteUrl": "https://github.com/cran/okBATHTUB",
  "RemoteRef": "HEAD",
  "RemoteSha": "4004f46444947c9a544a02a032ebff0ac20545d2",
  "MD5sum": "38747d3247b6c93ac656c8b8c12d5972",
  "_user": "cran",
  "_type": "src",
  "_file": "okBATHTUB_0.1.10.tar.gz",
  "_fileid": "4fe43e9994f6683cd1a399a29f020b7440de014a24a26d59a0a1261a86c13a6c",
  "_filesize": 477051,
  "_sha256": "4fe43e9994f6683cd1a399a29f020b7440de014a24a26d59a0a1261a86c13a6c",
  "_created": "2026-05-29T12:59:59.000Z",
  "_published": "2026-05-29T13:03:08.562Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78505513588,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7291287282"
    },
    {
      "job": 78505513579,
      "time": 149,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291289806"
    },
    {
      "job": 78505007192,
      "time": 180,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291239361"
    },
    {
      "job": 78505513463,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7291279355"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26638535890",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/okBATHTUB",
  "_commit": {
    "id": "4004f46444947c9a544a02a032ebff0ac20545d2",
    "author": "Jordon Henderson <jordon.henderson@owrb.ok.gov>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.10\n",
    "time": 1780057861
  },
  "_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": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-22",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.10",
      "date": "2026-05-29"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "0011235813",
      "count": 1,
      "uuid": 169918085
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/okBATHTUB"
  },
  "_devurl": "https://github.com/0011235813/oklahoma-bathtub",
  "_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"
  ],
  "_cranurl": false,
  "_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": 214,
      "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/cran/okBATHTUB/raw/HEAD/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-29 12:31:01",
      "modified": "2026-05-29 12:31:01",
      "commits": 1
    },
    {
      "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-29 12:31:01",
      "modified": "2026-05-29 12:31:01",
      "commits": 1
    },
    {
      "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-29 12:31:01",
      "modified": "2026-05-29 12:31:01",
      "commits": 1
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "okbathtub",
  "_universes": [
    "cran",
    "0011235813"
  ],
  "_indexurl": "https://0011235813.r-universe.dev/okBATHTUB",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-05-29T13:02:20.000Z",
      "distro": "noble",
      "commit": "4004f46444947c9a544a02a032ebff0ac20545d2",
      "fileid": "4f302ac130b066122f913bd757d2de46f8068f3402888629279e944fe089dec9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26638535890"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.10",
      "date": "2026-05-29T13:02:27.000Z",
      "distro": "noble",
      "commit": "4004f46444947c9a544a02a032ebff0ac20545d2",
      "fileid": "078bf03c256145c24521fdaf0a87f2da0a99bfc01771f0c1ef53be18dedfc772",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26638535890"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.10",
      "date": "2026-05-29T13:02:15.000Z",
      "commit": "4004f46444947c9a544a02a032ebff0ac20545d2",
      "fileid": "18103fc74756b1964f0b4a661337f8ca4f46354cd0c74d0dafc9fd11c3ae856d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26638535890"
    }
  ]
}