{
  "_id": "6ad5c3d443d630dc48a40087",
  "Package": "nhdR",
  "Title": "Tools for Working with the National Hydrography Dataset",
  "Version": "0.6.2",
  "Authors@R": "person(\"Jemma\", \"Stachelek\", email = \"jemma.stachelek@gmail.com\", role = c(\"aut\", \"cre\"), comment = c(ORCID = \"0000-0002-5924-2464\"))",
  "Description": "Tools for working with the National Hydrography Dataset,\nwith functions for querying, downloading, and networking both\nthe NHD <https://www.usgs.gov/national-hydrography> and NHDPlus\n<https://www.epa.gov/waterdata/nhdplus-national-hydrography-dataset-plus>\ndatasets.",
  "URL": "https://codeberg.org/jsta/nhdR",
  "BugReports": "https://codeberg.org/jsta/nhdR/issues",
  "License": "GPL",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "SystemRequirements": "7-zip command line tool (7z)",
  "Language": "en-US",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibicu-dev libxml2-dev libssl-dev libproj-dev libsqlite3-dev\nlibudunits2-dev",
  "Repository": "https://jsta.r-universe.dev",
  "Date/Publication": "2026-10-19 03:00:35 UTC",
  "RemoteUrl": "https://codeberg.org/jsta/nhdr",
  "RemoteRef": "HEAD",
  "RemoteSha": "a371d4a9e51f82a68235d9a5839399af8c2abcd6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-19 07:02:38 UTC",
    "User": "root"
  },
  "Author": "Jemma Stachelek [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-5924-2464>)",
  "Maintainer": "Jemma Stachelek <jemma.stachelek@gmail.com>",
  "_user": "jsta",
  "_type": "src",
  "_file": "nhdR_0.6.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/cf8157caf922d2ea860676035d96c177bcf864750ebed16e10ff8b9030d2d19b",
  "_filesize": 1796943,
  "_sha256": "cf8157caf922d2ea860676035d96c177bcf864750ebed16e10ff8b9030d2d19b",
  "_expires": "2027-01-27T07:16:34.000Z",
  "_created": "2026-10-19T07:02:38.000Z",
  "_published": "2026-10-19T07:16:36.432Z",
  "_buildurl": "https://github.com/r-universe/jsta/actions/runs/39213062380",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117932015533,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12168731402"
    },
    {
      "job": 117932015574,
      "time": 195,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12168362629"
    },
    {
      "job": 117932015492,
      "time": 230,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12168609798"
    },
    {
      "job": 117932015481,
      "time": 148,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12169151129"
    },
    {
      "job": 117930670536,
      "time": 247,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12168063136"
    },
    {
      "job": 117932015425,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12167824672"
    },
    {
      "job": 117932015478,
      "time": 94,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12168249222"
    },
    {
      "job": 117932015495,
      "time": 110,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12168319013"
    },
    {
      "job": 117932015385,
      "time": 116,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12168931245"
    }
  ],
  "_upstream": "https://codeberg.org/jsta/nhdr",
  "_commit": {
    "id": "a371d4a9e51f82a68235d9a5839399af8c2abcd6",
    "author": "jsta <jemma.stachelek@gmail.com>",
    "committer": "jsta <jemma.stachelek@gmail.com>",
    "message": "more informative error on missing national components, closes #1\n",
    "time": 1792378835
  },
  "_maintainer": {
    "name": "Jemma Stachelek",
    "email": "jemma.stachelek@gmail.com",
    "login": "jsta",
    "orcid": "0000-0002-5924-2464",
    "description": "",
    "uuid": 7844578
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "maps",
      "role": "Depends"
    },
    {
      "package": "rappdirs",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "rvest",
      "role": "Imports"
    },
    {
      "package": "xml2",
      "role": "Imports"
    },
    {
      "package": "foreign",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "curl",
      "role": "Imports"
    },
    {
      "package": "units",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "memoise",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "datasets",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "wikilake",
      "role": "Suggests"
    },
    {
      "package": "sp",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "crul",
      "role": "Suggests"
    },
    {
      "package": "lwgeom",
      "role": "Suggests"
    },
    {
      "package": "s2",
      "role": "Suggests"
    }
  ],
  "_owner": "codeberg-jsta",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-37",
      "n": 13
    },
    {
      "week": "2026-43",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "0.6.2",
      "date": "2026-09-08"
    }
  ],
  "_userbio": {
    "uuid": 7844578,
    "type": "user",
    "name": "Jemma Stachelek",
    "followers": 375
  },
  "_downloads": {
    "count": 632,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nhdR"
  },
  "_devurl": "https://codeberg.org/jsta/nhdr",
  "_searchresults": 50,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/nhdR.html",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://codeberg.org/jsta/nhdr",
  "_realowner": "jsta",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.5.0",
      "date": "2019-01-30"
    },
    {
      "version": "0.5.1",
      "date": "2019-02-19"
    },
    {
      "version": "0.5.2",
      "date": "2019-05-01"
    },
    {
      "version": "0.5.3",
      "date": "2020-03-23"
    },
    {
      "version": "0.5.4",
      "date": "2021-01-28"
    },
    {
      "version": "0.5.5",
      "date": "2021-06-06"
    },
    {
      "version": "0.5.6",
      "date": "2021-07-17"
    },
    {
      "version": "0.5.7",
      "date": "2022-01-03"
    },
    {
      "version": "0.5.8",
      "date": "2022-08-10"
    },
    {
      "version": "0.5.9",
      "date": "2022-10-09"
    },
    {
      "version": "0.6.0",
      "date": "2023-04-20"
    },
    {
      "version": "0.6.1",
      "date": "2023-08-12"
    },
    {
      "version": "0.6.2",
      "date": "2026-09-09"
    }
  ],
  "_exports": [
    "bbox2poly",
    "extract_network",
    "find_vpu",
    "great_lakes",
    "leaf_reaches",
    "nhd_dl_state",
    "nhd_get",
    "nhd_info",
    "nhd_list",
    "nhd_load",
    "nhd_plus_get",
    "nhd_plus_info",
    "nhd_plus_list",
    "nhd_plus_load",
    "nhd_plus_query",
    "nhd_query",
    "select_point_overlay",
    "select_poly_overlay",
    "terminal_reaches",
    "tip_reaches",
    "toUTM"
  ],
  "_datasets": [
    {
      "name": "gull",
      "title": "List of simple features lake polygons and flowlines within a buffer around Gull Lake Michigan.",
      "object": "gull",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "gull_flow",
      "title": "Flowlines within a buffer around Gull Lake Michigan including flow information.",
      "object": "gull_flow",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "COMID",
        "FDATE",
        "RESOLUTION",
        "GNIS_ID",
        "GNIS_NAME",
        "LENGTHKM",
        "REACHCODE",
        "FLOWDIR",
        "WBAREACOMI",
        "FTYPE",
        "FCODE",
        "SHAPE_LENG",
        "ENABLED",
        "GNIS_NBR",
        "Q0001F",
        "MAFLOWV",
        "MAVELV",
        "geometry"
      ],
      "rows": 16,
      "table": true,
      "tojson": true
    },
    {
      "name": "mendota",
      "title": "List of simple features lake polygons and flowlines within a buffer around Lake Mendota.",
      "object": "mendota",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "mendota_network",
      "title": "Upstream flowlines connected to Lake Mendota.",
      "object": "mendota_network",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "comid",
        "fdate",
        "resolution",
        "gnis_id",
        "gnis_name",
        "lengthkm",
        "reachcode",
        "flowdir",
        "wbareacomi",
        "ftype",
        "fcode",
        "shape_leng",
        "enabled",
        "gnis_nbr",
        "geometry"
      ],
      "rows": 192,
      "table": true,
      "tojson": true
    },
    {
      "name": "sunapee",
      "title": "List of simple features lake polygons and flowlines within a buffer around Lake Sunapee.",
      "object": "sunapee",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "sunapee_network",
      "title": "Upstream flowlines connected to Lake Sunapee.",
      "object": "sunapee_network",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "comid",
        "fdate",
        "resolution",
        "gnis_id",
        "gnis_name",
        "lengthkm",
        "reachcode",
        "flowdir",
        "wbareacomi",
        "ftype",
        "fcode",
        "shape_leng",
        "enabled",
        "gnis_nbr",
        "geometry"
      ],
      "rows": 161,
      "table": true,
      "tojson": true
    },
    {
      "name": "vpu_shp",
      "title": "Low-res simple features data frame of the NHDPlus vector processing units",
      "object": "vpu_shp",
      "class": [
        "sf",
        "data.frame"
      ],
      "fields": [
        "DrainageID",
        "UnitID",
        "UnitName",
        "UnitType",
        "Hydroseq",
        "AreaSqKM",
        "Shape_Leng",
        "Shape_Area",
        "geometry"
      ],
      "rows": 93,
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bbox2poly",
      "title": "Convert a bounding box to polygon",
      "topics": [
        "bbox2poly"
      ]
    },
    {
      "page": "extract_network",
      "title": "Return nhd plus stream network upstream of a waterbody",
      "topics": [
        "extract_network"
      ]
    },
    {
      "page": "find_state",
      "title": "find_state",
      "topics": [
        "find_state"
      ]
    },
    {
      "page": "find_vpu",
      "title": "Find VPU",
      "topics": [
        "find_vpu"
      ]
    },
    {
      "page": "great_lakes",
      "title": "Data and spatial polygons of the Great Lakes",
      "topics": [
        "great_lakes"
      ]
    },
    {
      "page": "gull",
      "title": "List of simple features lake polygons and flowlines within a buffer around Gull Lake Michigan.",
      "topics": [
        "gull"
      ]
    },
    {
      "page": "gull_flow",
      "title": "Flowlines within a buffer around Gull Lake Michigan including flow information.",
      "topics": [
        "gull_flow"
      ]
    },
    {
      "page": "leaf_reaches",
      "title": "Return leaf reaches from a network or query intersecting lake",
      "topics": [
        "leaf_reaches"
      ]
    },
    {
      "page": "mendota",
      "title": "List of simple features lake polygons and flowlines within a buffer around Lake Mendota.",
      "topics": [
        "mendota"
      ]
    },
    {
      "page": "mendota_network",
      "title": "Upstream flowlines connected to Lake Mendota.",
      "topics": [
        "mendota_network"
      ]
    },
    {
      "page": "nhd_dl_state",
      "title": "nhd_dl_state",
      "topics": [
        "nhd_dl_state"
      ]
    },
    {
      "page": "nhd_get",
      "title": "Download and cache NHD data by state",
      "topics": [
        "nhd_get"
      ]
    },
    {
      "page": "nhd_info",
      "title": "Return NHD layer metadata and field listing",
      "topics": [
        "nhd_info"
      ]
    },
    {
      "page": "nhd_list",
      "title": "List available locally cached NHD layers per state",
      "topics": [
        "nhd_list"
      ]
    },
    {
      "page": "nhd_load",
      "title": "Load NHD layers into current session",
      "topics": [
        "nhd_load"
      ]
    },
    {
      "page": "nhd_plus_get",
      "title": "Download and cache NHDplus data by vector processing unit",
      "topics": [
        "nhd_plus_get"
      ]
    },
    {
      "page": "nhd_plus_info",
      "title": "Return NHDplus layer metadata and field listing",
      "topics": [
        "nhd_plus_info"
      ]
    },
    {
      "page": "nhd_plus_list",
      "title": "List available locally cached NHDplus layers per state",
      "topics": [
        "nhd_plus_list"
      ]
    },
    {
      "page": "nhd_plus_load",
      "title": "Load NHDplus layers into current session",
      "topics": [
        "nhd_plus_load"
      ]
    },
    {
      "page": "nhd_plus_query",
      "title": "Select NHDplus features via polygon or circular buffer of coordinate pair",
      "topics": [
        "nhd_plus_query"
      ]
    },
    {
      "page": "nhd_query",
      "title": "Select NHD features clipped by a circular buffer a coordinate pair",
      "topics": [
        "nhd_query"
      ]
    },
    {
      "page": "select_point_overlay",
      "title": "Select features clipped by a point buffer around a point",
      "topics": [
        "select_point_overlay"
      ]
    },
    {
      "page": "select_poly_overlay",
      "title": "Select features clipped by a polygon",
      "topics": [
        "select_poly_overlay"
      ]
    },
    {
      "page": "sunapee",
      "title": "List of simple features lake polygons and flowlines within a buffer around Lake Sunapee.",
      "topics": [
        "sunapee"
      ]
    },
    {
      "page": "sunapee_network",
      "title": "Upstream flowlines connected to Lake Sunapee.",
      "topics": [
        "sunapee_network"
      ]
    },
    {
      "page": "terminal_reaches",
      "title": "Return terminal reaches from collection intersecting lake",
      "topics": [
        "terminal_reaches"
      ]
    },
    {
      "page": "tip_reaches",
      "title": "Return tip reaches from a network",
      "topics": [
        "tip_reaches"
      ]
    },
    {
      "page": "toUTM",
      "title": "Re-project to appropriate UTM zone",
      "topics": [
        "toUTM"
      ]
    },
    {
      "page": "vpu_shp",
      "title": "Low-res simple features data frame of the NHDPlus vector processing units",
      "topics": [
        "vpu_shp"
      ]
    }
  ],
  "_pkglogo": "https://codeberg.org/jsta/nhdr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://codeberg.org/jsta/nhdr/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cachem",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "curl",
    "DBI",
    "digest",
    "dplyr",
    "e1071",
    "farver",
    "fastmap",
    "foreign",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "httr",
    "isoband",
    "jsonlite",
    "KernSmooth",
    "labeling",
    "lifecycle",
    "magrittr",
    "maps",
    "memoise",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rvest",
    "s2",
    "S7",
    "scales",
    "selectr",
    "sf",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyselect",
    "units",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "wk",
    "xml2"
  ],
  "_vignettes": [
    {
      "source": "demo.Rmd",
      "filename": "demo.html",
      "title": "Creating simple maps using nhdR",
      "author": "Jemma Stachelek",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2017-02-01 23:01:40",
      "modified": "2021-06-06 02:22:28",
      "commits": 13
    },
    {
      "source": "network.Rmd",
      "filename": "network.html",
      "title": "Pull stream network associated with a waterbody catchment",
      "author": "Jemma Stachelek",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2018-07-05 19:27:47",
      "modified": "2021-06-06 02:22:28",
      "commits": 4
    },
    {
      "source": "flow.Rmd",
      "filename": "flow.html",
      "title": "Querying flow information",
      "author": "Jemma Stachelek",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Enhanced Unit Runoff Method (EROM)",
        "Vogel Flow Estimation",
        "Visualization"
      ],
      "created": "2018-05-07 19:40:55",
      "modified": "2021-06-06 02:22:28",
      "commits": 6
    }
  ],
  "_score": 5.176091259055681,
  "_indexed": true,
  "_nocasepkg": "nhdr",
  "_universes": [
    "jsta",
    "codeberg-jsta"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.2",
      "date": "2026-10-19T07:05:03.000Z",
      "distro": "resolute",
      "commit": "a371d4a9e51f82a68235d9a5839399af8c2abcd6",
      "fileid": "https://r2.ropensci.org/b39e41d5244db5d17aa9fc44f4537f7129327b190b57fc117106b5167734239d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jsta/actions/runs/39213062380"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.6.2",
      "date": "2026-10-19T07:05:46.000Z",
      "distro": "resolute",
      "commit": "a371d4a9e51f82a68235d9a5839399af8c2abcd6",
      "fileid": "https://r2.ropensci.org/824b7ad4cfdf0052a0cdacc58d08f02a09ab418fd689198b2df5fdd66ba7caff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jsta/actions/runs/39213062380"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.2",
      "date": "2026-10-19T07:14:46.000Z",
      "commit": "a371d4a9e51f82a68235d9a5839399af8c2abcd6",
      "fileid": "https://r2.ropensci.org/144189b1692bb3716c7a8974e4710a0ac0d05e76be023e35d822829b4c3510b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jsta/actions/runs/39213062380"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.6.2",
      "date": "2026-10-19T07:09:32.000Z",
      "commit": "a371d4a9e51f82a68235d9a5839399af8c2abcd6",
      "fileid": "https://r2.ropensci.org/16aeee5fc4af0323c52650b3372e3a927ef4239e851f2c68be8fa9decb8a1cf3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jsta/actions/runs/39213062380"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.2",
      "date": "2026-10-19T07:05:14.000Z",
      "commit": "a371d4a9e51f82a68235d9a5839399af8c2abcd6",
      "fileid": "https://r2.ropensci.org/a3f6ae1d5012fad010680fb9ef06d77d5bcf5ed31ea3a02d84ceacd720ee331c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jsta/actions/runs/39213062380"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-10-19T07:04:09.000Z",
      "commit": "a371d4a9e51f82a68235d9a5839399af8c2abcd6",
      "fileid": "https://r2.ropensci.org/37753f1b858c261c582daa880db1fa8c8cddfd2164f8209528b32fe37a6f096c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jsta/actions/runs/39213062380"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-10-19T07:04:09.000Z",
      "commit": "a371d4a9e51f82a68235d9a5839399af8c2abcd6",
      "fileid": "https://r2.ropensci.org/1bbff5000f147063218450a158832032a467ac2a34cc6be80bb8d7988e10311c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jsta/actions/runs/39213062380"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.6.2",
      "date": "2026-10-19T07:04:15.000Z",
      "commit": "a371d4a9e51f82a68235d9a5839399af8c2abcd6",
      "fileid": "https://r2.ropensci.org/8eafe63d365672dd3daa4e3df6f2c6cbf179126ea3dadb6c88c0d9925aaea5a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jsta/actions/runs/39213062380"
    }
  ]
}