get_usgs_dv_interactively {gwavr} | R Documentation |
Get United States Geologic Survey (USGS) Daily Flow Values Interactively
Description
This function allows the user to select United States Geologic Survey (USGS) stations and get back daily flow values based on station selected. It uses the USGS Water Services to get the values as well as the USGS Sites.
Usage
get_usgs_dv_interactively(
ns = "usgsdv-ui",
viewer = shiny::paneViewer(),
title = "Get USGS Daily Flow Values",
...
)
Arguments
ns |
|
viewer |
|
title |
|
... |
other arguments to |
Details
Steps
Select the sites you want to retrieve.
When finished, press 'done' and sites daily flow values will be saved to a data.frame in local environment.
Value
A data.frame that contains flow values based on the station(s) selected during shiny session.
Note
You can select multiple stations. The information from the hover
details is not included in
the data.frame that is returned, e.g. rate of change, percentile description.
Examples
if(interactive()){
dv_usgs <- get_usgs_dv_interactively()
}