-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
62 lines (51 loc) · 2.25 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# This is the user-interface definition of a Shiny web application.
# You can find out more about building applications with Shiny here:
#
# http://shiny.rstudio.com
#
library(shiny)
library(rCharts)
library(googleVis)
#library(ggplot2)
shinyUI(navbarPage("House Prices",
# Application title
# tabPanel("Analysis",
# titlePanel("House Prices Borough - table and charts"),
# sidebarLayout(
# sidebarPanel(
# selectInput("inArea1", "Select area:", choices="", multiple=TRUE, selectize=TRUE),
# selectInput("inYear1", "Select year:", choices="", multiple=TRUE, selectize=TRUE)
# ),
# mainPanel(tabsetPanel(
# tabPanel("Boxplot",
# showOutput("boxplot1", "highcharts")
# ),
# tabPanel("Barchart"),
# tabPanel("Scatterplot")
# ))
# )
# ),
tabPanel("Analysis",
titlePanel("House Prices Borough - plots, charts, table views"),
sidebarLayout(
sidebarPanel(
selectInput("inArea", "Select area:", choices="", multiple=TRUE, selectize=TRUE),
selectInput("inYear", "Select year:", choices="", multiple=TRUE, selectize=TRUE)
),
mainPanel(
tabsetPanel(
tabPanel("Box Plot", showOutput("boxplot1", "highcharts")),
tabPanel("Bar Plot", showOutput("barplot1", "nvd3")),
tabPanel("Scatter Plot", showOutput("scatter1", "polycharts")),
tabPanel("Table", dataTableOutput("pricetab"))
)
)
)),
tabPanel("Motion Chart",
titlePanel("House prices exploratory motion chart"),
htmlOutput("googlevis1")
),
tabPanel("Documentation",
includeHTML("doc.html")
)
))