findNWIS
returns a SpatialPointsDataFrame
of all USGS NWIS gages for an Area of Interest. This dataset is accessed through the NWIS web portal and contains the following attributes:
'OBJECTID' : character
Unique ID in dataset
'feature_id' : character
NHD COMID for reach
'site_no': character
NWIS ID number
'site_name' : character
Name of site
'da_sqkm' : character
Area drainign to gage in square kilometers
'lat_reachCent' : numeric
Latitude of the reach center, decimil degrees
'lon_reachCent' : numeric
Longitude of the reach center, decimil degrees
findNWIS(AOI = NULL, ids = FALSE, comids = FALSE)
AOI | A Spatial* or simple features geometry, can be piped from getAOI |
---|---|
ids | If TRUE, a vector of NIWS gage IDs are added to retuned list (default = |
comids | f TRUE, a vector of NHD COMIDs IDs are added to retuned list (default = |
a list() of minimum length 2: AOI and nwis
# NOT RUN { co = getAOI(state = "CO") %>% findNWIS() # }