2019-05-15 00:35:53 +02:00
|
|
|
#
|
|
|
|
# Main Server File
|
|
|
|
#
|
|
|
|
|
2019-05-15 00:27:04 +02:00
|
|
|
# Import files
|
|
|
|
source("Server/Results.R")
|
2019-05-15 19:56:07 +02:00
|
|
|
source("Server/DataProcessor.R")
|
2019-05-19 19:05:06 +02:00
|
|
|
source("Server/SummaryStatistics.R")
|
|
|
|
source("Server/InteractiveMapStatistics.R")
|
2019-05-15 00:27:04 +02:00
|
|
|
|
|
|
|
# Server logic
|
|
|
|
server <- function(input, output) {
|
2019-05-19 00:07:35 +02:00
|
|
|
# Tab 1
|
2019-05-19 01:33:04 +02:00
|
|
|
balanceForTeamBarplot(input, output)
|
2019-05-19 00:07:35 +02:00
|
|
|
matchesForTeam(input, output)
|
2019-05-19 19:05:06 +02:00
|
|
|
summaryStatistics(input, output)
|
2019-05-19 00:07:35 +02:00
|
|
|
|
|
|
|
# Tab 2
|
2019-05-15 00:27:04 +02:00
|
|
|
balanceBetweenTeams(input, output)
|
2019-05-15 19:56:07 +02:00
|
|
|
balancePercentage(input, output)
|
2019-05-15 00:27:04 +02:00
|
|
|
resultsWithPagination(input, output)
|
2019-05-19 19:05:06 +02:00
|
|
|
|
|
|
|
# Tab 3
|
|
|
|
interactiveMapStatistics(input, output)
|
2019-05-15 00:27:04 +02:00
|
|
|
}
|