Advertisement
Guest User

Untitled

a guest
Dec 8th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. library(shiny)
  2. library(RMySQL)
  3. library(ggplot2)
  4. #library(ggiraph)
  5. library(lubridate)
  6.  
  7. ##Connect to Redmine db
  8. con <- dbConnect(MySQL(),
  9. user = '#',
  10. password = '#',
  11. host = '#',
  12. dbname='#')
  13.  
  14. tickets<-dbGetQuery(con, "Select * from table")
  15. issues_speed_unique<-unique(na.omit(dbGetQuery(con,"Select * from table2")))
  16. dbDisconnect (con)
  17.  
  18. some aggregations....
  19.  
  20. shinyServer(
  21. function(input,output){
  22.  
  23. library(shiny)
  24. library(ggplot2)
  25. #library(ggiraph)
  26. #library(htmltools)
  27. library(lubridate)
  28.  
  29. shinyUI(fluidPage(
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement