get_nhdplus_interactively | R Documentation |
This function allows the user go get NHDPlus realizations interactively with a shiny app.
get_nhdplus_interactively(
ns = "hydro-ui",
viewer = shiny::paneViewer(),
title = "NHDPlus",
...
)
ns |
|
viewer |
|
title |
|
... |
other arguments to |
A list of sf objects that the user collected during shiny session.
The picker list has several options right now: NHDPlus Catchments, NHDPlus Flowlines, NHDPlus Waterbodies, NHDPlus Outlet, HUC 2-12, NWIS Site.
if(interactive()){
nhdplus_data <- get_nhdplus_interactively()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.