keatonwilson / paleotidal_app

Shiny app for paleotidal modeling for Exeter + Bangor
1 stars 0 forks source link

Time Series Panel + Reactivity #17

Closed keatonwilson closed 1 year ago

keatonwilson commented 1 year ago

Create the time series panel with reactive linkages to map click events generated by leaflet. Generally, this will build on initial steps implemented by #16, and involve:

  1. Creating a module for the plot itself, with reference to original application, data will be pulled from the loaded feather files for rsl and water-depth (check).
  2. When a user clicks the map, we get lat/lon returned - this needs to be searched against the closest pixel lat-lon in the data and the entire time series for this pixel needs to be returned and fed to the plotting module.
jessicaguo commented 1 year ago

Does this mean that the selected variable (e.g., tidal amplitude) doesn't show up on the timeseries plot? Would be kinda cool if it did, although I see that feature is not part of the original app. Would be cool if the water-depth were a color axis on the RSL curve, and the second axis showed the variable of interest.