-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.R
24 lines (21 loc) · 795 Bytes
/
app.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
source("global.R")
source("modules/Plotly.R")
source("modules/Billboarder.R")
ui <- dashboardPage(
dashboardHeader(title = "Interactive graphics"),
dashboardSidebar(width = 230,
sidebarMenu(id = 'sidebarmenu',
tags$br(),
menuItem('Plotly', tabName = "plotly"),
menuItem('Billboarder', tabName = "billboarder"))),
dashboardBody(
tabItems(
tabItem(tabName = "plotly", PlotlyUI(id = "plotlygraphs")),
tabItem(tabName = "billboarder", BillboarderUI(id = "billboardergraphs"))
))
)
server <- function(input, output, session) {
callModule(PlotlyFunction, id = "plotlygraphs")
callModule(BillboarderFunction, id = "billboardergraphs")
}
shinyApp(ui, server)