Skip to content

Commit 452b841

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into develop_tripDestUpdate
2 parents 61fca80 + 367cbac commit 452b841

File tree

11 files changed

+1655
-62
lines changed

11 files changed

+1655
-62
lines changed
Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
version: 1
2+
3+
header:
4+
tab: Topsheet
5+
title: ActivitySim Topsheet
6+
description: "Some example metrics that people find generally useful."
7+
8+
layout:
9+
topsheetRow:
10+
- title: "At-a-Glance"
11+
type: "topsheet"
12+
props:
13+
configFile: "topsheet.yaml"
14+
15+
row0:
16+
- title: "Trip Mode Share"
17+
# description: "Add a subtitle"
18+
info: "You can additional descriptive text for each chart element."
19+
type: "pie"
20+
width: 1
21+
props:
22+
dataset: "trips_by_mode_count.csv"
23+
useLastRow: true
24+
25+
- title: "Trip Purpose"
26+
# description: ""
27+
info: "You can add additional descriptive text for each chart element."
28+
type: "pie"
29+
width: 1
30+
props:
31+
dataset: "trips_by_purpose_count.csv"
32+
useLastRow: true
33+
34+
- title: "Trip Purpose by Time of Day"
35+
description: "Trip counts stacked by puropse"
36+
info: "You can add additional descriptive text for each chart element."
37+
type: "area"
38+
width: 1
39+
props:
40+
dataset: "trip_purpose_by_time_of_day.csv"
41+
x: "depart"
42+
43+
row1:
44+
- title: "VMT / Capita"
45+
# description: ""
46+
info: "You can add additional descriptive text for each chart element."
47+
type: "map"
48+
width: 2
49+
height: 8
50+
props:
51+
boundaries: 'taz1454.geojson'
52+
boundariesJoinCol: 'TAZ1454'
53+
boundariesLabels: 'TAZ'
54+
dataset: 'vmt_per_capita_by_home_taz.csv'
55+
datasetJoinCol: 'home_zone_id'
56+
datasetValue: 'vmt_per_capita_by_home_taz'
57+
58+
- title: "VMT / Employee"
59+
# description: ""
60+
type: "map"
61+
width: 2
62+
height: 8
63+
props:
64+
boundaries: 'taz1454.geojson'
65+
boundariesJoinCol: 'TAZ1454'
66+
boundariesLabels: 'TAZ'
67+
dataset: 'vmt_per_capita_by_work_taz.csv'
68+
datasetJoinCol: 'workplace_zone_id'
69+
datasetValue: 'vmt_per_capita_by_work_taz'
70+
71+
row2:
72+
- title: "Work Tours by Departure Time"
73+
type: "bar"
74+
props:
75+
dataset: "work_tours_tod_count.csv"
76+
x: "depart"
77+
xAxisTitle: "Time of Day"
78+
columns: ['tours']
79+
yAxisTitle: "Tours"
80+
legendTitles: ['Work Tours']
81+
82+
- title: "School Tours by Departure Time"
83+
type: "bar"
84+
props:
85+
dataset: "school_tours_tod_count.csv"
86+
x: "depart"
87+
xAxisTitle: "Time of Day"
88+
columns: ['tours']
89+
yAxisTitle: "Tours"
90+
legendTitles: ['School Tours']
91+
92+
- title: "Non-Mandatory Tours by Departure Time"
93+
type: "bar"
94+
props:
95+
dataset: "non_mandatory_tours_tod_count.csv"
96+
x: "depart"
97+
xAxisTitle: "Time of Day"
98+
columns: ['tours']
99+
yAxisTitle: "Tours"
100+
legendTitles: ['Non-Mandatory Tours']
101+
102+
row3:
103+
- title: "Relationships Between Tour Modes and Trip Modes"
104+
description: "Tour modes <---> Trip modes"
105+
type: sankey
106+
height: 8
107+
props:
108+
csv: tour_mode_to_trip_mode.csv

activitysim/examples/example_mtc/output/summarize/taz1454.geojson

Lines changed: 1461 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Topsheet Test
2+
# title: Key Performance Indicators
3+
4+
# Input files -------------------------
5+
files:
6+
tours:
7+
file: "tours_count.csv"
8+
trips:
9+
file: "trips_count.csv"
10+
households:
11+
file: "households_count.csv"
12+
persons:
13+
file: "persons_count.csv"
14+
tours_per_household:
15+
file: "tours_per_household_count.csv"
16+
trips_per_household:
17+
file: "trips_per_household_count.csv"
18+
total_vmt:
19+
file: "total_vmt.csv"
20+
vmt_per_capita:
21+
file: "vmt_per_capita.csv"
22+
23+
# Calculations ------------------------
24+
calculations:
25+
tours: '{tours.tours}'
26+
trips: '{trips.trips}'
27+
households: '{households.households}'
28+
persons: '{persons.persons}'
29+
tours_per_household: '{tours_per_household.tours_per_household}'
30+
trips_per_household: '{trips_per_household.trips_per_household}'
31+
total_vmt: '{total_vmt.vmt}'
32+
vmt_per_capita: '{vmt_per_capita.vmt_per_capita}'
33+
34+
# Table rows
35+
outputs:
36+
- title: Total Tours
37+
# style: { font-weight: bold, color: purple }
38+
value: tours
39+
40+
- title: Total Trips
41+
value: trips
42+
43+
- title: Total Households
44+
value: households
45+
46+
- title: Total Persons
47+
value: persons
48+
49+
- title: Tours / Household
50+
value: tours_per_household
51+
52+
- title: Trips / Household
53+
value: trips_per_household
54+
55+
- title: Total VMT
56+
value: total_vmt
57+
58+
- title: VMT / Capita
59+
value: vmt_per_capita
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
*.csv
2+
*.log
3+
*.prof
4+
*.h5
5+
*.txt
6+
*.yaml
7+
*.omx
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.mmap
2+
*.feather
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.csv
2+
*.log
3+
*.txt
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.csv
2+
*.log
3+
*.txt
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
*.csv
2+
*.log
3+
*.prof
4+
*.h5
5+
*.txt
6+
*.yaml
7+
*.omx
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.mmap
2+
*.feather
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*.csv
2+
*.log
3+
*.txt

0 commit comments

Comments
 (0)