-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui.R
108 lines (93 loc) · 2.8 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
library(shinydashboard)
ui <- dashboardPage(skin = 'black',
dashboardHeader(title="SIAC Dashboard"),
dashboardSidebar(
sidebarMenu(
menuItem("State Assessment", icon = icon("dashboard"),
menuSubItem("Cohort Trends",
tabName = "cohort_SA",
icon=icon("line-chart"),
),
menuSubItem("Grade Trends",
tabName = "grade_SA",
icon=icon("bar-chart"),
)
),
menuItem("MAP Results", icon = icon("map"),
menuSubItem("Projected vs. Actual",
tabName = "cohort_projections_MAP",
icon=icon("line-chart"),
),
menuSubItem("Grade Growth",
tabName = "grade_MAP",
icon=icon("seedling"),
)
),
menuItem("Math Facts", tabName = "mathFacts", icon = icon("calculator"))
)
),
dashboardBody(
tabItems(
##### State Assessment COHORT Tab #####
tabItem(
tabName = "cohort_SA",
column( width = 12,
box( width = 12,
"Controls",
uiOutput("cohort_select_SA")
)
),
column(
width = 6,
plotOutput("assessmentCohortsELA"),
dataTableOutput("reading_table_SA")
),
column(
width = 6,
plotOutput("assessmentCohortsMath"),
dataTableOutput("math_table_SA")
)
),
##### State Assessment Grade Tab #####
tabItem(
tabName = "grade_SA",
column(width=6,
box( width = 12,
column( width = 6,
selectInput(
"subject_select_SA",
"Select Subject",
choices = c("Reading", "Math")
),
uiOutput("grade_select_SA")
) ,
column(width = 6,
),
)
),
column(width = 6,
plotOutput("grade_plot_district_SA"),
plotOutput("grade_plot_building_SA")
)
),
#### MAP Tabs #####
#### MAP COHORT #####
tabItem(
tabName = "cohort_projections_MAP",
plotOutput("projected_growth_MAP",width = "100%")
),
#### Map Grade ####
tabItem(
tabName = "grade_MAP",
plotOutput("growth_MAP"),
box(
width=12,
uiOutput("start_year_select_MAP_growth"),
uiOutput("timing_select_MAP_growth"),
uiOutput("subject_select_MAP_growth")
)
)
)
),
title = "SIAC Dashboard"
)