Description Usage Arguments Value Author(s) See Also Examples
View source: R/findNearestWaterbodies.R
findNearestWaterbodies returns a SpatialPointsDataFrame of the 'n' number of NHDwaterbodies closest to a declared point.
| 1 2 | findNearestWaterbodies(point = NULL, n = 5, ids = FALSE,
  bb = FALSE)
 | 
| point | a point described by lat/long, can be piped from geocode | 
| n | the number of NWIS gages to find (default = 5) | 
| ids | If TRUE, a vector of station IDs is added to retuned list (default =  | 
| bb | If TRUE, the geometry of the minimum bounding area of the features is added to returned list  (default =  | 
a list() of minimum length 2: AOI and nwis
Mike Johnson
findNWIS
| 1 2 3 4 | ## Not run: 
pt = geocode("UCSB") %>% findNearestWaterbodies(n = 5)
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.