get_Basin: Get Basin Boundary NLDI

View source: R/utils_getbasin.R

get_BasinR Documentation

Get Basin Boundary NLDI

Description

This function uses the USGS water data API to link a point to a realized basin. This is not the same as delineating from the exact point, rather this API uses NLDI to find the closest basin downstream source point. There is a lot you can do with this API and I would recommend looking at nhdplusTools as that has a lot of functionality and better documentation.

Usage

get_Basin(sf_pt)

Arguments

sf_pt

A sf point object.

Value

An sf object with added comid and basin.

Note

sf_pt needs geometry column.


joshualerickson/wildlandhydRo documentation built on Feb. 12, 2024, 6:40 p.m.