cdec_stations | R Documentation |
Search the stations in the CDEC system using the CDEC Station Search service here. Combinations of these parameters can be supplied to refine or be left out to generalize, at least one must be supplied.
cdec_stations( station_id = NULL, nearby_city = NULL, river_basin = NULL, hydro_area = NULL, county = NULL )
station_id |
string three letter station code |
nearby_city |
string search stations near supplied city |
river_basin |
string search stations in supplied basin |
hydro_area |
string search stations in supplied hydrological area |
county |
string search stations in supplied county |
data frame with queried stations as rows and
columns describing the station_id
, name
, river_basin
, county
, longitude
,
latitude
, elevation
, operator
, and state
# cdec_stations() can be used to find locations within an area of interest ## Not run: cdec_stations(county = "alameda") ## End(Not run) # or it can be used to get metadata attributes for a location ## Not run: cdec_stations(station_id = "ccr") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.