Demo Shiny Apps for DRUG Talk on 11.19.19
- UI.r
- Server.r
- Global.r
Capturing UI Input
input$<inputid>
Manipulating data in a reative way
reactive({})
Outputting changed data
output$outputid <- render ({ reactive() })
When we need to limit / update UI choice based on other inputs
observeEvent({})
- update choices
- update selected
Take rows chosen from a DataTable and drive reactive output in another element
input$<tableID_rows_selected>
event_data("<plot event>", source = "<sourceplot>"))
- naming plot sources
- adding keys
- Take clicked, brushed, selected points from a plot and drive reactive output in another element
print()
browser()