diff --git a/configs/unc-ebike.nrel-op.json b/configs/unc-ebike.nrel-op.json index 318aead..8d92244 100644 --- a/configs/unc-ebike.nrel-op.json +++ b/configs/unc-ebike.nrel-op.json @@ -1,13 +1,13 @@ { "url_abbreviation": "unc-ebike", - "version": 1, - "ts": 1719593268395, + "version": 2, + "ts": 1725639256133, "server": { "connectUrl": "https://unc-ebike-openpath.nrel.gov/api/", "aggregate_call_auth": "user_only" }, "opcode": { - "autogen": true, + "autogen": false, "subgroups": [ "test", "default" @@ -17,7 +17,7 @@ "program_or_study": "program", "start_month": "08", "start_year": "2024", - "mode_studied": "e-bike", + "mode_studied": "ebike", "program_admin_contact": "Matt Bhagat-Conway, UNC (email: mwbc@unc.edu)", "deployment_partner_name": "University of North Carolina at Chapel Hill", "translated_text": { @@ -54,7 +54,7 @@ "survey_info": { "surveys": { "UserProfileSurvey": { - "formPath": "json/demo-survey-v2.json", + "formPath": "https://raw.githubusercontent.com/e-mission/nrel-openpath-deploy-configs/main/survey_resources/unc-ebike/onboarding-v1.xml", "version": 1, "compatibleWith": 1, "dataKey": "manual/demographic_survey", @@ -66,6 +66,7 @@ }, "trip-labels": "MULTILABEL" }, + "label_options": "https://raw.githubusercontent.com/e-mission/nrel-openpath-deploy-configs/main/label_options/unc-ebike-label-options.json", "display_config": { "use_imperial": true }, diff --git a/label_options/unc-ebike-label-options.json b/label_options/unc-ebike-label-options.json new file mode 100644 index 0000000..01670b9 --- /dev/null +++ b/label_options/unc-ebike-label-options.json @@ -0,0 +1,100 @@ +{ + "MODE": [ + {"value": "car", "baseMode": "CAR", "met_equivalent": "IN_VEHICLE", "kgCo2PerKm": 0.22031}, + {"value": "walk", "baseMode":"WALKING", "met_equivalent":"WALKING", "kgCo2PerKm": 0}, + {"value": "ebike", "baseMode":"E_BIKE", "met": {"ALL": {"range": [0, -1], "mets": 4.9}}, "kgCo2PerKm": 0.00728}, + {"value": "bike", "baseMode":"BICYCLING", "met_equivalent":"BICYCLING", "kgCo2PerKm": 0}, + {"value": "bus", "baseMode": "BUS", "met_equivalent": "IN_VEHICLE", "kgCo2PerKm": 0.20727}, + {"value": "taxi", "baseMode":"TAXI", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.30741}, + {"value": "ridehail", "baseMode":"TAXI", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.30741}, + {"value": "train", "baseMode": "TRAIN", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.12256}, + {"value": "air", "baseMode":"AIR", "met_equivalent":"IN_VEHICLE", "kgCo2PerKm": 0.09975}, + {"value": "not_a_trip", "baseMode":"UNKNOWN", "met_equivalent":"UNKNOWN", "kgCo2PerKm": 0}, + {"value": "other", "baseMode":"OTHER", "met_equivalent":"UNKNOWN", "kgCo2PerKm": 0} + ], + "PURPOSE": [ + {"value": "home"}, + {"value": "work"}, + {"value": "school"}, + {"value": "shopping"}, + {"value": "medical"}, + {"value": "friends_family"}, + {"value": "religious"}, + {"value": "restaurant"}, + {"value": "entertainment"}, + {"value": "recreation"}, + {"value": "pudo"}, + {"value": "accbus"}, + {"value": "acctrainair"}, + {"value": "other"} + ], + "REPLACED_MODE": [ + {"value": "no_travel"}, + {"value": "car"}, + {"value": "walk"}, + {"value": "e-bike"}, + {"value": "bike"}, + {"value": "bus"}, + {"value": "taxi"}, + {"value": "ridehail"}, + {"value": "train"}, + {"value": "air"}, + {"value": "other"} + ], + "translations": { + "en": { + "car": "Car", + "walk": "Walk", + "bike": "Regular bike", + "ebike": "E-bike", + "bus": "Bus", + "taxi": "Taxi", + "ridehail": "Uber / Lyft", + "train": "Train / Amtrak", + "air": "Airplane", + "not_a_trip": "Not a trip", + "other": "Other", + "home": "Home", + "work": "Work", + "school": "School", + "shopping": "Shopping", + "medical": "Medical", + "friends_family": "Visiting friends or family", + "religious": "Church or house of worship", + "restaurant": "Restaurant", + "entertainment": "Entertainment, sightseeing, etc.", + "recreation": "Recreation / exercise", + "pudo": "Pick up / drop off a person", + "accbus": "Get to / from bus stop", + "acctrainair": "Get to / from train station or airport", + "no_travel": "Would not have made trip" + }, + "es": { + "car": "Car", + "walk": "Walk", + "bike": "Regular bike", + "ebike": "E-bike", + "bus": "Bus", + "taxi": "Taxi", + "ridehail": "Uber / Lyft", + "train": "Train / Amtrak", + "air": "Airplane", + "not_a_trip": "Not a trip", + "other": "Other", + "home": "Home", + "work": "Work", + "school": "School", + "shopping": "Shopping", + "medical": "Medical", + "friends_family": "Visiting friends or family", + "religious": "Church or house of worship", + "restaurant": "Restaurant", + "entertainment": "Entertainment, sightseeing, etc.", + "recreation": "Recreation / exercise", + "pudo": "Pick up / drop off a person", + "accbus": "Get to / from bus stop", + "acctrainair": "Get to / from train station or airport", + "no_travel": "Would not have made trip" + } + } + } \ No newline at end of file diff --git a/survey_resources/unc-ebike/onboarding-v1.xlsx b/survey_resources/unc-ebike/onboarding-v1.xlsx new file mode 100644 index 0000000..22d1f59 Binary files /dev/null and b/survey_resources/unc-ebike/onboarding-v1.xlsx differ diff --git a/survey_resources/unc-ebike/onboarding-v1.xml b/survey_resources/unc-ebike/onboarding-v1.xml new file mode 100644 index 0000000..f140fe2 --- /dev/null +++ b/survey_resources/unc-ebike/onboarding-v1.xml @@ -0,0 +1 @@ +demographic-surveyiPhoneAndroidDon't knowOtherWhat type of smartphone do you have?iPhoneAndroidNo lo séOtro tipo¿Que tipo de teléfono inteligente usted tiene?smartphone-0iphonesmartphone-1androidsmartphone-2dontknowsmartphone-3other \ No newline at end of file