WayneGitShell / GWSDAT

GroundWater Spatiotemporal Data Analysis Tool (GWSDAT) R-Shiny implementation.
https://stats-glasgow.shinyapps.io/GWSDAT
31 stars 7 forks source link

Reaggregation not responding for Trend Table, when before reaggregated in Spatial Plot #185

Closed andrejadd closed 6 years ago

andrejadd commented 6 years ago

Very odd:

  1. First reaggregate in spatial plot panel
  2. Change to trend table, reaggregate
andrejadd commented 6 years ago

I had to put the aggregation inputId of the trend table in front of reaggregateData(), although it appears inside an if statement right after it :

reaggregateData <- reactive({
input$aggregate_data_tt

So for some reason, input$aggregate_data_tt unregisters from reaggregateData() if it first reacts to a change of input$aggregate_data_sp.. reactivity magic taking place here, but probably makes perfect sense;