Skip to content

DenverRUG/2019-11-19-DRUG-Shiny-Demos

 
 

Repository files navigation

Denver R Users Group Shiny App Demos

Demo Shiny Apps for DRUG Talk on 11.19.19

Outline

  • 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>"))

Plot Source

  • naming plot sources
  • adding keys
  • Take clicked, brushed, selected points from a plot and drive reactive output in another element

Printing Output

print()

Breaking into Browser session

browser()

showcase mode

reactive log

About

Demo Shiny Apps for DRUG Talk on 11.19.19

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%