-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathui.R
40 lines (34 loc) · 1.06 KB
/
ui.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
#
# This is the user-interface definition of a Shiny web application. You can
# run the application by clicking 'Run App' above.
#
# Find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com/
#
library(shiny)
# Define UI for application that draws a histogram
shinyUI(fluidPage(
# Application title
titlePanel("TCRS Survey Dashboard"),
# Sidebar with a slider input for number of bins
sidebarLayout(
sidebarPanel(
uiOutput("filterByDate"),
uiOutput("filterBySection"),
uiOutput("filterByTeam"),
actionButton("forceReload", "Force refresh of data from Qualtrics")
),
# Show a plot of the generated distribution
mainPanel(
plotOutput("sentimentOverTime"),
plotOutput("sentiment"),
plotOutput("howDidYouDo"),
htmlOutput("thisWeekIHave"),
h4("General Reflection"),
tableOutput("reflection"),
h4("Survey Completion"),
tableOutput("completionInfo")
)
)
))