Package: nhdR 0.6.1

nhdR: Tools for Working with the National Hydrography Dataset

Tools for working with the National Hydrography Dataset, with functions for querying, downloading, and networking both the NHD <https://www.usgs.gov/national-hydrography> and NHDPlus <https://www.epa.gov/waterdata/nhdplus-national-hydrography-dataset-plus> datasets.

Authors:Jemma Stachelek [aut, cre]

nhdR_0.6.1.tar.gz
nhdR_0.6.1.zip(r-4.5)nhdR_0.6.1.zip(r-4.4)nhdR_0.6.1.zip(r-4.3)
nhdR_0.6.1.tgz(r-4.4-any)nhdR_0.6.1.tgz(r-4.3-any)
nhdR_0.6.1.tar.gz(r-4.5-noble)nhdR_0.6.1.tar.gz(r-4.4-noble)
nhdR_0.6.1.tgz(r-4.4-emscripten)nhdR_0.6.1.tgz(r-4.3-emscripten)
nhdR.pdf |nhdR.html
nhdR/json (API)
NEWS

# Install 'nhdR' in R:
install.packages('nhdR', repos = c('https://jsta.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/jsta/nhdr/issues

Datasets:
  • gull - List of simple features lake polygons and flowlines within a buffer around Gull Lake Michigan.
  • gull_flow - Flowlines within a buffer around Gull Lake Michigan including flow information.
  • mendota - List of simple features lake polygons and flowlines within a buffer around Lake Mendota.
  • mendota_network - Upstream flowlines connected to Lake Mendota.
  • sunapee - List of simple features lake polygons and flowlines within a buffer around Lake Sunapee.
  • sunapee_network - Upstream flowlines connected to Lake Sunapee.
  • vpu_shp - Low-res simple features data frame of the NHDPlus vector processing units

On CRAN:

geospatialnational-hydrography-datasetnhdwater-qualitywater-resources

6.47 score 37 stars 53 scripts 272 downloads 21 exports 62 dependencies

Last updated 1 years agofrom:0e5e18633e. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 04 2024
R-4.5-winOKNov 04 2024
R-4.5-linuxOKNov 04 2024
R-4.4-winOKNov 04 2024
R-4.4-macOKNov 04 2024
R-4.3-winOKNov 04 2024
R-4.3-macOKNov 04 2024

Exports:bbox2polyextract_networkfind_vpugreat_lakesleaf_reachesnhd_dl_statenhd_getnhd_infonhd_listnhd_loadnhd_plus_getnhd_plus_infonhd_plus_listnhd_plus_loadnhd_plus_querynhd_queryselect_point_overlayselect_poly_overlayterminal_reachestip_reachestoUTM

Dependencies:askpasscachemclassclassIntclicolorspacecurlDBIdigestdplyre1071fansifarverfastmapforeigngenericsggplot2gluegtablehttrisobandjsonliteKernSmoothlabelinglatticelifecyclemagrittrmapsMASSMatrixmemoisemgcvmimemunsellnlmeopensslpillarpkgconfigproxypurrrR6rappdirsRColorBrewerRcpprlangrvests2scalesselectrsfstringistringrsystibbletidyselectunitsutf8vctrsviridisLitewithrwkxml2

Creating simple maps using nhdR

Rendered fromdemo.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2021-06-06
Started: 2017-02-01

Pull stream network associated with a waterbody catchment

Rendered fromnetwork.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2021-06-06
Started: 2018-07-05

Querying flow information

Rendered fromflow.Rmdusingknitr::rmarkdownon Nov 04 2024.

Last update: 2021-06-06
Started: 2018-05-07

Readme and manuals

Help Manual

Help pageTopics
R interface to the National Hydrography DatasetnhdR-package nhdR
Convert a bounding box to polygonbbox2poly
Return nhd plus stream network upstream of a waterbodyextract_network
find_statefind_state
Find VPUfind_vpu
Data and spatial polygons of the Great Lakesgreat_lakes
List of simple features lake polygons and flowlines within a buffer around Gull Lake Michigan.gull
Flowlines within a buffer around Gull Lake Michigan including flow information.gull_flow
Return leaf reaches from a network or query intersecting lakeleaf_reaches
List of simple features lake polygons and flowlines within a buffer around Lake Mendota.mendota
Upstream flowlines connected to Lake Mendota.mendota_network
nhd_dl_statenhd_dl_state
Download and cache NHD data by statenhd_get
Return NHD layer metadata and field listingnhd_info
List available locally cached NHD layers per statenhd_list
Load NHD layers into current sessionnhd_load
Download and cache NHDplus data by vector processing unitnhd_plus_get
Return NHDplus layer metadata and field listingnhd_plus_info
List available locally cached NHDplus layers per statenhd_plus_list
Load NHDplus layers into current sessionnhd_plus_load
Select NHDplus features via polygon or circular buffer of coordinate pairnhd_plus_query
Select NHD features clipped by a circular buffer a coordinate pairnhd_query
Select features clipped by a point buffer around a pointselect_point_overlay
Select features clipped by a polygonselect_poly_overlay
List of simple features lake polygons and flowlines within a buffer around Lake Sunapee.sunapee
Upstream flowlines connected to Lake Sunapee.sunapee_network
Return terminal reaches from collection intersecting laketerminal_reaches
Return tip reaches from a networktip_reaches
Re-project to appropriate UTM zonetoUTM
Low-res simple features data frame of the NHDPlus vector processing unitsvpu_shp