Launch a Shiny app for interactive exploration of fetch calculation results. Click on site markers to view fetch rays and detailed information. Click anywhere on the map to analyze a new point.
Arguments
- fetch_data
Results from
fetch_calculate- title
Optional app title
Details
Requires the shiny, leaflet, and base64enc packages (suggested dependencies).
The app displays:
Interactive map with satellite imagery
Site markers colored by exposure category
Click markers to see fetch rays
Popup with rose diagram and metrics
Click anywhere on the map to analyze a new point
Examples
if (interactive()) {
sites <- load_sites("my_sites.csv")
lake <- get_lake_boundary(sites)
results <- fetch_calculate(sites, lake)
fetch_app(results)
}
