get_noaatlas_interactively | R Documentation |
This function uses the National Oceanic and Atmospheric Administration (NOAA) Atlas 14 API to allow the user to visually select a location (point) to get numerous precipitation-frequency statistics.
get_noaatlas_interactively(
map = NULL,
ns = "noaatlas-ui",
viewer = shiny::paneViewer(),
title = "NOAA Atlas 14"
)
map |
A background leaflet or mapview map to be used for editing. If NULL a blank mapview canvas will be provided. |
ns |
|
viewer |
|
title |
|
A data.frame.
if(interactive()){
noaatlas_data <- get_noaatlas_interactively()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.