Skip to content

Commit 329a5ba

Browse files
authored
[arlingtonebike] add subgroups, fix e-bike/e_bike mismatch (#171)
Added "resident," "standard," and "enhanced" subgroups by request `mode_studied` is defined as `e-bike`, but it needs to match one of the label options. Changed `e_bike` to `e-bike` (and for consistency, also changed `e_bikeshare` to `e-bikeshare`)
1 parent df467d1 commit 329a5ba

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

configs/arlingtonebike.nrel-op.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"url_abbreviation": "arlingtonebike",
3-
"version": 2,
3+
"version": 3,
44
"ts": 1751298857,
55
"server": {
66
"connectUrl": "https://arlingtonebike-openpath.nrel.gov/api/",
@@ -9,6 +9,9 @@
99
"opcode": {
1010
"autogen": true,
1111
"subgroups": [
12+
"resident",
13+
"standard",
14+
"enhanced",
1215
"test"
1316
]
1417
},

label_options/arlingtonebike-label-options.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"baseMode":"WALKING", "met_equivalent":"WALKING", "kgCo2PerKm": 0},
55
{"value":"bike", "base_mode": "BICYCLING",
66
"baseMode":"BICYCLING", "met_equivalent":"BICYCLING", "kgCo2PerKm": 0},
7-
{"value":"e_bike", "base_mode": "BICYCLING",
7+
{"value":"e-bike", "base_mode": "BICYCLING",
88
"baseMode":"BICYCLING", "met_equivalent":"BICYCLING", "kgCo2PerKm": 0},
9-
{"value":"e_bikeshare", "base_mode": "BICYCLING",
9+
{"value":"e-bikeshare", "base_mode": "BICYCLING",
1010
"baseMode":"BICYCLING", "met_equivalent":"BICYCLING", "kgCo2PerKm": 0},
1111
{"value":"scootershare", "base_mode": "E_SCOOTER",
1212
"baseMode":"E_SCOOTER", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.00894},
@@ -35,8 +35,8 @@
3535
"REPLACED_MODE": [
3636
{"value":"walk"},
3737
{"value":"bike"},
38-
{"value":"e_bike"},
39-
{"value":"e_bikeshare"},
38+
{"value":"e-bike"},
39+
{"value":"e-bikeshare"},
4040
{"value":"scootershare"},
4141
{"value":"drove_alone"},
4242
{"value":"taxi"},
@@ -49,8 +49,8 @@
4949
"en": {
5050
"walk": "Walk",
5151
"bike": "Personal bike",
52-
"e_bike": "Personal e-bike",
53-
"e_bikeshare": "Bikeshare e-bike",
52+
"e-bike": "Personal e-bike",
53+
"e-bikeshare": "Bikeshare e-bike",
5454
"scootershare": "Bikeshare or scooter",
5555
"drove_alone": "Drive",
5656
"taxi": "Taxi/Uber/Lyft",
@@ -66,8 +66,8 @@
6666
"es": {
6767
"walk": "Caminando",
6868
"bike": "Bicicleta personal",
69-
"e_bike": "Bicicleta electrica personal",
70-
"e_bikeshare": "Bicicletas eléctricas compartidas",
69+
"e-bike": "Bicicleta electrica personal",
70+
"e-bikeshare": "Bicicletas eléctricas compartidas",
7171
"scootershare": "Bicicletas compartidas o scooters",
7272
"drove_alone": "Conducir",
7373
"taxi": "Taxi/Uber/Lyft",

0 commit comments

Comments
 (0)