View source: R/utils_getbasin.R
get_Basin | R Documentation |
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.
get_Basin(sf_pt)
sf_pt |
A sf point object. |
An sf object with added comid
and basin
.
sf_pt
needs geometry column.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.