Skip to content

Commit

Permalink
Cut down Laos label options (e-mission#128)
Browse files Browse the repository at this point in the history
cut down number of modes and purposes
suppress the "please specify" feature of "other"
update translations to match the new labels
ordered with most common (so far) first to hopefully make it faster
tested in the emulator both in English and Lao
  • Loading branch information
Abby-Wheelis authored Oct 24, 2024
1 parent 93fd6bf commit dbe5262
Showing 1 changed file with 29 additions and 79 deletions.
108 changes: 29 additions & 79 deletions label_options/usaid-laos-ev-label-options.json
Original file line number Diff line number Diff line change
@@ -1,123 +1,73 @@
{
"MODE": [
{"value":"walk", "base_mode": "WALKING",
"baseMode":"WALKING", "met_equivalent":"WALKING", "kgCo2PerKm": 0},
{"value":"e-auto_rickshaw", "base_mode": "MOPED", "icon": "rickshaw-electric", "footprint": { "electric": { "wh_per_km": 341.82 }},
"baseMode":"MOPED", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.085416859},
{"value":"auto_rickshaw", "base_mode": "MOPED", "icon": "rickshaw", "footprint": { "gasoline": { "wh_per_km": 970 }},
"baseMode":"MOPED", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.231943784},
{"value":"gas_car", "base_mode": "CAR",
"baseMode":"CAR", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.22031},
{"value":"motorcycle", "base_mode": "MOPED", "footprint": { "gasoline": { "wh_per_km": 473.17 }},
"baseMode":"MOPED", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.113143309},
{"value":"e-bike", "base_mode": "E_BIKE",
"baseMode":"E_BIKE", "met": {"ALL": {"range": [0, -1], "mets": 4.9}}, "kgCo2PerKm": 0.00728},
{"value":"walk", "base_mode": "WALKING",
"baseMode":"WALKING", "met_equivalent":"WALKING", "kgCo2PerKm": 0},
{"value":"e_car", "base_mode": "E_CAR",
"baseMode":"E_CAR", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.08216},
{"value":"bike", "base_mode": "BICYCLING",
"baseMode":"BICYCLING", "met_equivalent":"BICYCLING", "kgCo2PerKm": 0},
{"value":"drove_alone", "base_mode": "CAR",
"baseMode":"CAR", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.22031},
{"value":"shared_ride", "base_mode": "CAR", "passengers": 2,
"baseMode":"CAR", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.11015},
{"value":"e_car_drove_alone", "base_mode": "E_CAR",
"baseMode":"E_CAR", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.08216},
{"value":"e_car_shared_ride", "base_mode": "E_CAR", "passengers": 2,
"baseMode":"E_CAR", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.04108},
{"value":"public_transit", "base_mode": "BUS",
"baseMode":"BUS", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.20727},
{"value":"taxi", "base_mode": "TAXI",
"baseMode":"TAXI", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.30741},
{"value":"bus", "base_mode": "BUS",
"baseMode":"BUS", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.20727},
{"value":"train", "base_mode": "TRAIN",
"baseMode":"TRAIN", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.12256},
{"value":"free_shuttle", "base_mode": "BUS",
"baseMode":"BUS", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.20727},
{"value":"air", "base_mode": "AIR",
"baseMode":"AIR", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.09975},
{"value":"not_a_trip", "base_mode": "NONE",
"baseMode":"UNKNOWN", "met_equivalent":"UNKNOWN", "kgCo2PerKm": 0},
{"value":"other", "base_mode": "OTHER",
{"value":"other_mode", "base_mode": "OTHER",
"baseMode":"OTHER", "met_equivalent":"UNKNOWN", "kgCo2PerKm": 0}
],
"PURPOSE": [
{"value":"home"},
{"value":"work"},
{"value":"at_work"},
{"value":"school"},
{"value":"transit_transfer"},
{"value":"work_school"},
{"value":"shopping"},
{"value":"meal"},
{"value":"pick_drop_person"},
{"value":"pick_drop_item"},
{"value":"personal_med"},
{"value":"access_recreation"},
{"value":"exercise"},
{"value":"entertainment"},
{"value":"religious"},
{"value":"other"}
{"value":"pick_drop"},
{"value":"transit_transfer"},
{"value":"other_reason"}
],
"translations": {
"en": {
"walk": "Walk",
"e-auto_rickshaw":"E-tuk tuk",
"auto_rickshaw":"Tuk Tuk",
"motorcycle":"Motorcycle",
"e-bike": "E-bike",
"bike": "Bicycle",
"drove_alone": "Car Drove Alone",
"shared_ride": "Car Shared Ride",
"e_car_drove_alone": "E-Car Drove Alone",
"e_car_shared_ride": "E-Car Shared Ride",
"taxi": "Taxi/Loca/inDrive",
"bus": "Bus",
"train": "Train",
"free_shuttle": "Free Shuttle",
"gas_car": "Car",
"e_car": "Electric Car",
"taxi": "Taxi",
"public_transit": "Public Transportation",
"air": "Airplane",
"not_a_trip": "Not a trip",
"other_mode" : "Other",
"home": "Home",
"work": "To Work",
"at_work": "At Work",
"school": "School",
"work_school": "Work or School",
"transit_transfer": "Transit transfer",
"shopping": "Shopping",
"meal": "Meal",
"pick_drop_person": "Pick-up/ Drop off Person",
"pick_drop_item": "Pick-up/ Drop off Item",
"personal_med": "Personal/ Medical",
"access_recreation": "Access Recreation",
"exercise": "Recreation/ Exercise",
"entertainment": "Entertainment/ Social",
"religious": "Religious",
"other": "Other"
"pick_drop": "Pick-up/ Drop off",
"other_reason": "Other"
},
"lo": {
"walk": "ດ້ວຍການຍ່າງ",
"e-auto_rickshaw":"ລົດ 3 ລໍ້ໄຟຟ້າ ຫລື ຕຸກຕຸກໄຟຟ້າ",
"auto_rickshaw":"ເດີນທາດ້ວຍ ລົດຕຸກຕຸກ ຫລື ລົດສາມລໍ້",
"motorcycle":"ລົດຈັກ",
"e-bike": "ວຍລົດຈັກໄຟຟ້າ",
"bike": "ລົດຖີບ",
"drove_alone": "ເດີນທາງ ດ້ວຍລົດໃຫ່ຍ ເຊີ່ງເປັນລົດທີ່ຂັບເອງ",
"shared_ride": "ເດີນທາງດ້ວຍລົດໃຫ່ຍ ຮ່ວມກັບລົດຄົນອຶ່ນ",
"e_car_drove_alone": "ດ້ວຍການຂັບລົດໄຟຟ້າໄປເອງ",
"e_car_shared_ride": "ດ້ວຍການຈ້າງລົດໄຟຟ້າໄປ",
"gas_car": "ເດີນທາງ ດ້ວຍລົດໃຫ່ຍ ທີ່ແລ່ນດ້ວຍນໍ້າມັນ",
"e_car": "ເດີນທາງ ດ້ວຍລົດໃຫ່ຍໄຟຟ້າ",
"taxi": "ແທັກຊີ",
"bus": "ລົດເມ",
"train": "ລົດໄຟ",
"free_shuttle": "ລົດຮັບສົ່ງຟຣີ",
"air": "ຍົນ",
"public_transit": "ລົດເມ",
"air": "ດ້ວຍ ຍົນ",
"not_a_trip": "ບໍ່ແມ່ນການເດີນທາງ",
"other_mode" : "ອື່ນໆ",
"home": "ບ້ານ",
"work": "ໄປເຮັດວຽກ",
"at_work": "ຢູ່ບ່ອນເຮັດວຽກ",
"school": "ໄປໂຮງຮຽນ",
"work_school": "ໄປເຮັດວຽກ/ໄປໂຮງຮຽນ",
"transit_transfer": "ການຖ່າຍໂອນການເດີນທາງ",
"shopping": "ຊອບປິ້ງ",
"meal": "ອາຫານ",
"pick_drop_person": "ໄປຮັບ ຫລື ສົນ ຄົນ",
"pick_drop_item": "ໄປຮັບ ຫລື ສົ່ງສິນຄ້າ",
"personal_med": "ໄປຫາໝໍ",
"access_recreation": "ເຂົ້າເຖິງການພັກຜ່ອນ",
"exercise": "ພັກຜ່ອນ/ອອກກຳລັງກາຍ",
"entertainment": "ບັນເທີງ/ສັງຄົມ",
"religious": "ຈຸດປະສົງທາງສາດສະໜາ",
"other": "ອື່ນໆ"
"pick_drop": "ໄປຮັບ ຫລື ໄປສົ່ງ",
"other_reason": "ອື່ນໆ"
}
}
}

0 comments on commit dbe5262

Please sign in to comment.