-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdashboard-3-rpurpose.yaml
336 lines (321 loc) · 9.28 KB
/
dashboard-3-rpurpose.yaml
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
header:
tab: "Travel Purpose"
title: "Travel Purpose"
description: ""
layout:
time_of_day:
- type: text
title: 'San Francisco Resident Trips Purpose Table by Time of the Day' #to be changed to SF
description: 'Table showing trips by primary destination purpose statistics for 5 different times of the day including Daily aggeragate'
file: 'topsheet/purpose_tod.md'
- type: "line"
title: "Bay Area Trips by Primary Destination Purpose and Time Of Day"
description: 'Graph showing trips by primary destination purpose statistics for 5 different times of the day'
props:
dataset: "topsheet/purpose_tod.csv"
x: "TOD"
columns: [ 'Work', 'School','Escort','Personal Business & Medical','Shopping','Meals','Social & Recreational','Change Mode','Return Home']
xAxisName: 'Time of the Day'
yAxisName: 'Count of trips'
district:
- type: text
title: 'Bay Area Daily Trips Purpose Table by Primary Destination'
description: 'Table showing statistics for 15 districts trips by primary destination purpose statistics'
file: 'topsheet/purpose_dist_daily.md'
- type: plotly
title: 'SF Daily Trip Purpose Plot'
description: 'Graph showing statistics for 12 districts trips by primary destination purpose statistics'
datasets:
data: 'topsheet/purpose_all.csv'
traces:
- type: bar
name: Work
y: $data.Districts
x: $data.Work
orientation: h
- type: bar
name: School
y: $data.Districts
x: $data.School
orientation: h
- type: bar
name: Escort
y: $data.Districts
x: $data.Escort
orientation: h
- type: bar
name: 'Personal Business & Medical'
y: $data.Districts
x: $data.Personal Business & Medical
orientation: h
- type: bar
name: Shopping
y: $data.Districts
x: $data.Shopping
orientation: h
- type: bar
name: Meals
y: $data.Districts
x: $data.Meals
orientation: h
- type: bar
name: 'Social & Recreational'
y: $data.Districts
x: $data.Social & Recreational
orientation: h
- type: bar
name: 'Change Mode'
y: $data.Districts
x: $data.Change Mode
orientation: h
- type: bar
name: 'Return Home'
y: $data.Districts
x: $data.Return Home
orientation: h
layout:
barmode: stack
taz_maps:
- type: map
title: Daily Resident Trips by Purpose by Home TAZ
zoom: 11
center:
- -122.42
- 37.77
height: 12
shapes: ../../shapefiles/Topsheet/TAZ2454_clean.shp
datasets:
taz:
file: topsheet/taz_rpurpose_h.csv
join: TAZ:taz
display:
fill:
dataset: taz
columnName: Work
normalize: TAZ2454_clean.shp:SQ_MILE
colorRamp:
ramp: Plasma
steps: 10
tooltip:
- taz.District
- taz.taz
- taz.Work
- taz.Grade School
- taz.High School
- taz.College
- taz.Workbased
- type: map
title: by Origin TAZ
zoom: 11
center:
- -122.42
- 37.77
height: 12
shapes: ../../shapefiles/Topsheet/TAZ2454_clean.shp
datasets:
taz:
file: topsheet/taz_rpurpose_o.csv
join: TAZ:taz
display:
fill:
dataset: taz
columnName: Work
normalize: TAZ2454_clean.shp:SQ_MILE
colorRamp:
ramp: Plasma
steps: 10
tooltip:
- taz.District
- taz.taz
- taz.Work
- taz.Grade School
- taz.High School
- taz.College
- taz.Workbased
- type: map
title: by Destination TAZ
zoom: 11
center:
- -122.42
- 37.77
height: 12
shapes: ../../shapefiles/Topsheet/TAZ2454_clean.shp
datasets:
taz:
file: topsheet/taz_rpurpose_d.csv
join: TAZ:taz
display:
fill:
dataset: taz
columnName: Work
normalize: TAZ2454_clean.shp:SQ_MILE
colorRamp:
ramp: Plasma
steps: 10
tooltip:
- taz.District
- taz.taz
- taz.Work
- taz.Grade School
- taz.High School
- taz.College
- taz.Workbased
district_maps:
- type: map
title: Daily Resident Trips by Purpose Map by Home District
zoom: 11
center:
- -122.42
- 37.77
height: 12
shapes: ../../shapefiles/Topsheet/Dist_15_Dissolve.shp
datasets:
district:
file: topsheet/district_rpurpose_h.csv
join: DIST:district
display:
fill:
dataset: district
columnName: Work
normalize: Dist_15_Dissolve.shp:Shape_Area
colorRamp:
ramp: Plasma
steps: 15
tooltip:
# - district.District No
- district.district
- district.district_name
- district.Work
- district.Grade School
- district.High School
- district.College
- district.Workbased
- type: map
title: by Origin district
zoom: 11
center:
- -122.42
- 37.77
height: 12
shapes: ../../shapefiles/Topsheet/Dist_15_Dissolve.shp
datasets:
district:
file: topsheet/district_rpurpose_o.csv
join: DIST:district
display:
fill:
dataset: district
columnName: Work
normalize: Dist_15_Dissolve.shp:Shape_Area
colorRamp:
ramp: Plasma
steps: 15
tooltip:
# - district.District No
- district.district
- district.district_name
- district.Work
- district.Grade School
- district.High School
- district.College
- district.Workbased
- type: map
title: by Destination district
zoom: 11
center:
- -122.42
- 37.77
height: 12
shapes: ../../shapefiles/Topsheet/Dist_15_Dissolve.shp
datasets:
district:
file: topsheet/district_rpurpose_d.csv
join: DIST:district
display:
fill:
dataset: district
columnName: Work
normalize: Dist_15_Dissolve.shp:Shape_Area
colorRamp:
ramp: Plasma
steps: 15
tooltip:
# - district.District No
- district.district
- district.district_name
- district.Work
- district.Grade School
- district.High School
- district.College
- district.Workbased
tour_time_of_day:
- type: text
title: 'SF Resident Tour Purpose Table by Time of the Day'
description: 'Table showing tours by tour primary destination purpose statistics for 5 different times of the day including Daily aggeragate'
file: 'topsheet/purpose_tod_tour.md'
- type: "line"
title: "Tours by primary destination purpose and Time Of Day"
props:
dataset: "topsheet/purpose_tod_tour.csv"
x: "TOD"
columns: ['Work','Grade School','High School','College','Escort','Personal Business(including medical)','Social & Recreational','Shopping','Meals']
xAxisName: 'Time of the Day'
yAxisName: 'Count of tours'
tour_district:
- type: text
title: 'SF Daily Tours Purpose Table by Primary Destination'
description: 'Table showing statistics for 15 districts'
file: 'topsheet/purpose_all_tour.md'
- type: plotly
title: 'Daily Tour Purpose plot'
# description: 'Purpose and their trips in 2 locations'
datasets:
data: 'topsheet/purpose_all_tour.csv'
traces:
- type: bar
name: Work
y: $data.district
x: $data.Work
orientation: h
- type: bar
name: Grade School
y: $data.district
x: $data.Grade School
orientation: h
- type: bar
name: High School
y: $data.district
x: $data.High School
orientation: h
- type: bar
name: College
y: $data.district
x: $data.College
orientation: h
- type: bar
name: Escort
y: $data.district
x: $data.Escort
orientation: h
- type: bar
name: 'Personal Business(including medical)'
y: $data.district
x: $data.Personal Business(including medical)
orientation: h
- type: bar
name: Shopping
y: $data.district
x: $data.Shopping
orientation: h
- type: bar
name: Meals
y: $data.district
x: $data.Meals
orientation: h
- type: bar
name: 'Social & Recreational'
y: $data.district
x: $data.Social & Recreational
orientation: h
layout:
barmode: stack