-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.R
45 lines (35 loc) · 1.06 KB
/
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
library(shiny)
library(rlang)
library(tidyverse)
library(rmarkdown)
library(ggplot2)
library(GGally)
library(gridExtra)
library(plotly, exclude = "filter")
library(pals)
library(reshape2)
library(DT)
library(table1)
library(xlsx)
library(writexl)
library(readxl)
source("data_ui.R", local = TRUE)
#source("qc_ui.R", local = TRUE)
source("manifest_ui.R", local = TRUE)
ui <- shinyUI(fluidPage(
titlePanel("CARGO Manifest Generator", windowTitle = "CARGO Manifest Generator"),
# tabsetPanel( id = "top_tabs", data_ui, qc_ui, manifest_ui )
tabsetPanel( id = "top_tabs", data_ui, manifest_ui )
# tabsetPanel( id = "top_tabs", qc_ui, manifest_ui )
# tabsetPanel( id = "top_tabs", data_ui, manifest_ui )
# tabsetPanel( id = "top_tabs", data_ui, qc_ui )
))
source("data_server.R", local = TRUE)
#source("qc_server.R", local = TRUE)
source("manifest_server.R", local = TRUE)
server <- shinyServer(function(input, output, session) {
data_server(input, output, session)
#qc_server(input, output, session)
manifest_server(input, output, session)
})
shinyApp(ui, server)