-
Notifications
You must be signed in to change notification settings - Fork 0
/
server.R
44 lines (26 loc) · 926 Bytes
/
server.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
library(mongolite)
library(ggplot2)
library(plotly)
# suppressWarnings(library(plotly))
library(data.table)
library(xts)
library(fasttime) #for fastPosixct
library(scales)
library(shiny)
library(RColorBrewer)
options(shiny.maxRequestSize=100*1024^2) #size limit for file uploads, default 5MB
Sys.setenv(TZ="Asia/Kolkata")
# global variables
# Objects in this file are shared across all sessions
source('config.R', local=TRUE)$value
# Define server logic
shinyServer(function(input, output, session){
source('summary_tab_controller.R', local=TRUE)$value
# summary_(input, output, session)
source('archival_tab_controller.R', local=TRUE)$value
archival_tab_controller(input, output, session)
source('upload_tab_controller.R', local=TRUE)$value
upload_data(input, output, session)
source('aravali_tab_controller.R', local=TRUE)$value
aravali_tab_controller(input, output, session)
})