This has been working great, but I've run into a problem where the data I'm plotting is too large, and it would be useful to zoom in on a section before making the brush selection.
I've been trying to incorporate something like the code here:
https://shiny.rstudio.com/gallery/plot-interaction-zoom.html
Specifically, I think the best solution would be two charts, like the middle and right charts in the link above. So I would make a brush selection on the first chart; the second chart would zoom into that selection. I would then make a brush selection on the second chart and this would be output as csv.
I've been playing around trying to join these bits of code together, but I've not managed to get anything close to working yet. When I add output$info t try and get the save the brush selection on the zoomed chart as csv, nothing happens.
Any help would be much appreciated. Thanks!