-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathui.R
33 lines (25 loc) · 1.07 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
shinyUI(fluidPage(
titlePanel("Massachusetts: Average licensing wait times at various RMV locations"),
sidebarLayout(
sidebarPanel(
# LEARNING #
# h1("Sidebar header", align="center"), # header function
# p("Here's a short", span("description", style = "color: blue"), "of the app."),
# helpText("Test in style difference."),
# br(),
# image(src = 'logo.png', height=72, width=72), # image must be in www folder in app folder
# code("this is a note"),
# uiOutput("weeks"),
uiOutput("cities"),
width = 2
), # do NOT include a comma in the last element of an array/panel
# list of widgets: http://shiny.rstudio.com/gallery/widget-gallery.html
mainPanel(
plotOutput(outputId = "main", height = 700)
)
# output types: htmlOutput, imageOutput, plotOutput, tableOutput, textOutput)
)
))
# different layout types can be viewed at: http://shiny.rstudio.com/articles/layout-guide.html
# Convert dates to M-F + times
# Factor by M-F (n weeks prior), then average values over M-F -> plot