forked from thisisnic/Shiny-London-Income-Map
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
32 lines (28 loc) · 740 Bytes
/
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
library(shinydashboard)
library(leaflet)
library(DT)
header<-dashboardHeader(title="London Income Map")
body<-dashboardBody(
fluidRow(
column(width = 9,
box(width = NULL, solidHeader = TRUE,
leafletOutput("londonMap", height=400)
),
box(width=NULL,
dataTableOutput("boroughTable")
)
),
column(width=3,
box(width=NULL,
uiOutput("yearSelect"),
radioButtons("meas", "Measure",c("Mean"="Mean", "Median"="Median")),
checkboxInput("city", "Include City of London?",TRUE)
)
)
)
)
dashboardPage(
header,
dashboardSidebar(disable = TRUE),
body
)