Hi all -
I'm new to this, and I'm hoping you can help. I have a Shiny app, with a map pane that uses Leaflet to allow the user to select a year and indicator to map data on a Shapefile. The map pane works fine in the HTML viewer, but is slow and 9/10 disconnects from the server (I imagine it times out) when deployed.
I have tried to use isolate() and actionButtons(), but this didn't help.
My repo: https://github.com/MirandaLupion/GOV_1005_Final_Project
(app is in navbarApp folder)
Deployed app: https://mlupion.shinyapps.io/Russian_crime_data/
The data itself is large. I use the filter feature in the reactive to filter for only the year needed and then select only the variable needed. This worked fine when the only input option was year. Might is be causing the issue, now that it also facilitates the indicator input? Should I do this in two reactive statements?
Thanks!