diff --git a/.github/ISSUE_TEMPLATE/add-new-config.yml b/.github/ISSUE_TEMPLATE/add-new-config.yml index 363383fa..6494cf6e 100644 --- a/.github/ISSUE_TEMPLATE/add-new-config.yml +++ b/.github/ISSUE_TEMPLATE/add-new-config.yml @@ -322,7 +322,7 @@ body: attributes: label: Custom Labels description: If you chose false above, and want drowdown style labeling, please provide the file name for your custom labels. You will need to submit a PR to add it to our repo - https://github.com/e-mission/nrel-openpath-deploy-configs/tree/main/label_options - placeholder: https://raw.githubusercontent.com/e-mission/nrel-openpath-deploy-configs/main/label_options/example-program-label-options.json + placeholder: example-program-label-options.json - type: markdown attributes: @@ -510,7 +510,7 @@ body: id: admin_access attributes: label: Admin Access Emails - description: Please enter a comman separated list of emails to which we will grant access to the admin dashboard. This will usually be a relatively short list. + description: Please enter a comma separated list of emails to which we will grant access to the admin dashboard. [MAX 5] validations: required: true # - type: dropdown diff --git a/.github/actions/convertIssue/issue-to-json.js b/.github/actions/convertIssue/issue-to-json.js index 3c97b7bd..b0d689a5 100644 --- a/.github/actions/convertIssue/issue-to-json.js +++ b/.github/actions/convertIssue/issue-to-json.js @@ -41,6 +41,7 @@ export async function issueToJson() { await mkdir(outputDir, { recursive: true }); let abbrevKey = getInput("hash-property-name"); + abbrevKey = abbrevKey.toLowerCase(); let fileName = getFileName(configData[ abbrevKey ]); await writeFile(path.join(outputDir, fileName), JSON.stringify(configData, null, 2)); } catch (error) { diff --git a/.github/actions/convertIssue/parse-issue-body.js b/.github/actions/convertIssue/parse-issue-body.js index 117b3a2c..440e1e16 100644 --- a/.github/actions/convertIssue/parse-issue-body.js +++ b/.github/actions/convertIssue/parse-issue-body.js @@ -145,7 +145,7 @@ function getSurveyInfo(dataObject) { UserProfileSurvey: { formPath: "https://raw.githubusercontent.com/e-mission/nrel-openpath-deploy-configs/main/survey_resources/" + - dataObject.url_abbreviation + + dataObject.url_abbreviation+ "/" + dataObject.custom_dem_survey_path, version: 1, @@ -265,6 +265,9 @@ export async function parseIssueBody(githubIssueTemplateFile, body) { let bodyData = parseBodyData(body); let combinedObject = parseCombined(fields, bodyData); + // must be lower case + combinedObject.url_abbreviation = combinedObject.url_abbreviation.toLowerCase(); + //then compose the config object let configObject = {}; try { @@ -275,11 +278,14 @@ export async function parseIssueBody(githubIssueTemplateFile, body) { let connect_url = "https://" + combinedObject.url_abbreviation + "-openpath.nrel.gov/api/"; configObject["server"] = { - connectURL: connect_url, + connectUrl: connect_url, aggregate_call_auth: "user_only", }; //TODO check options for call + add to form? - let subgroups = combinedObject.subgroups.split(","); + let subgroups = combinedObject.subgroups.split(",").map(item => item.trim()); + if (subgroups.length == 1 && subgroups[0] == "") { + subgroups = ["default", "test"]; + } configObject["opcode"] = { autogen: cleanBoolean(combinedObject.autogen), subgroups: subgroups, @@ -353,7 +359,15 @@ export async function parseIssueBody(githubIssueTemplateFile, body) { } //list of administrator emails - configObject['admin_dashboard'].admin_access = combinedObject.admin_access.split(','); + let email_list = combinedObject.admin_access.split(','); + if (email_list.length > 5){ + setFailed("sorry, admin access is limited to a maximum of 5 emails, please shorten your list of emails"); + } + // leading/trailing whitespace will lead to errors + for (let i = 0; i < email_list.length; i++) { + email_list[i] = email_list[i].trim(); + } + configObject['admin_dashboard'].admin_access = email_list; //TODO: add handling for custom reminder schemes diff --git a/.github/workflows/issue-to-json.yml b/.github/workflows/issue-to-json.yml index d0c737d1..f35855d3 100644 --- a/.github/workflows/issue-to-json.yml +++ b/.github/workflows/issue-to-json.yml @@ -43,11 +43,13 @@ jobs: id: cpr uses: peter-evans/create-pull-request@v5 with: + add-paths: | + configs/ commit-message: Create or update a new config file signoff: false - branch: new-config + branch: new-config-#${{ env.IssueNumber }} delete-branch: false - title: '[Config] create new file' + title: '[Config #${{ env.IssueNumber }}] create new file' body: | Adding a new config file - Initialized by creating or updating the coressponding issue diff --git a/README.md b/README.md index a0ff5c9b..428b43d3 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,18 @@ Automation has been introduced for creating new config files. New deployers can Info for parthers: [in the docs](https://github.com/e-mission/e-mission-docs/tree/master/docs/use/start_a_project.md) Info for developers: [in the docs](https://github.com/e-mission/e-mission-docs/tree/master/docs/dev/future/more_custom_auto_config.md) +Config file submission will begin the process of creating an admin dashboard and associated user pool for the project. In order to log in, users will need to generate an account. This process will be automated, but may occasionally need to be run manually if there are errors in the initial config submission. To generate an account, users will need to install boto3. Please install boto3 in your virtualenv, conda env, or local machine per your preferences: + +#Run the following command in terminal: + +`pip install boto3` + +#Run the email-config.py script, and pass the path to the config file in as an argument: + +`python email-config.py -l /path/to/configfile.nrel-op.json` + +An email with instructions + admin dashboard link will be sent to all emails listed in the admin access section. + ### Reviewing and testing - contact us by email at openpath@nrel.gov for access to staging apps (Android or IOS) - also reach out to recieve an OPcode for stage study or stage program diff --git a/configs/cosa-ebike-project.nrel-op.json b/configs/cosa-ebike-project.nrel-op.json new file mode 100644 index 00000000..46f7fd76 --- /dev/null +++ b/configs/cosa-ebike-project.nrel-op.json @@ -0,0 +1,101 @@ +{ + "url_abbreviation": "cosa-ebike-project", + "version": 1, + "ts": 1710526862150, + "server": { + "connectUrl": "https://cosa-ebike-project-openpath.nrel.gov/api/", + "aggregate_call_auth": "user_only" + }, + "opcode": { + "autogen": true, + "subgroups": [ + "default", + "test" + ] + }, + "intro": { + "program_or_study": "program", + "start_month": "02", + "start_year": "2024", + "mode_studied": "e-bike", + "program_admin_contact": "Ricardo Ambriz, ricardo.ambriz2@sanantonio.gov, 210-207-6888", + "deployment_partner_name": "City of San Antonio", + "translated_text": { + "en": { + "deployment_partner_name": "City of San Antonio", + "deployment_name": "Low-Income E-bike Rebate Pilot Program", + "summary_line_1": "The City of San Antonio's Office of Sustainability (OS) is interested in promoting sustainable transportation choices for San Antonio residents, including e-bikes to reduce greenhouse gas emissions.", + "summary_line_2": "The City of San Antonio’s Low-Income E-bike Rebate Pilot Program will promote sustainable transportation in San Antonio and help achieve the goal of decreasing greenhouse gas emissions in the transportation sector while increasing community resiliency, prioritizing disadvantaged communities, consistent with the Justice40 Initiative, which seeks to build a clean and equitable energy economy.", + "summary_line_3": "The Low-Income E-bike Rebate Pilot Program will increase access to reliable transportation for residents of disadvantaged communities in San Antonio by subsidizing the cost of an electric bicycle, or e-bike. Lowering the barrier to access reliable transportation will help these new e-bike owners to use the transportation system to access economically, socially, and environmentally valuable locations.", + "short_textual_description": "The City of San Antonio is interested in gathering data on e-bike usage from participants in its Low-Income E-bike Rebate Pilot Program which offers incentives for San Antonio residents to affordably purchase e-bikes.", + "why_we_collect": "The City of San Antonio hopes to use this information to better understand how e-bikes are used including distance traveled, trips made, the associated emissions reduction and potential equity impacts.", + "research_questions": [ + "How will these e-bikes be used by the study participants?", + "What trips (mode of transportation, length of trip) will be replaced with the e-bike by the participant?", + "Will participant be able to utilize the e-bike for trips that otherwise would not be taken?" + ] + }, + "es": { + "deployment_partner_name": "Ciudad de San Antonio", + "deployment_name": "Programa piloto de reembolso de bicicletas eléctricas para personas de bajos ingresos", + "summary_line_1": "La Oficina de Sostenibilidad (OS) de la ciudad de San Antonio está interesada en promover opciones de transporte sostenible para los residentes de San Antonio, incluidas bicicletas eléctricas para reducir las emisiones de gases de efecto invernadero.", + "summary_line_2": "El Programa Piloto de Reembolso de Bicicletas Eléctricas para Personas de Bajos Ingresos de la Ciudad de San Antonio promoverá el transporte sostenible en San Antonio y ayudará a lograr el objetivo de disminuir las emisiones de gases de efecto invernadero en el sector del transporte mientras aumenta la resiliencia de la comunidad, dando prioridad a las comunidades desfavorecidas, en consonancia con la Iniciativa Justice40. que busca construir una economía energética limpia y equitativa.", + "summary_line_3": "El Programa Piloto de Reembolso de Bicicletas Eléctricas para Personas de Bajos Ingresos aumentará el acceso a transporte confiable para los residentes de comunidades desfavorecidas en San Antonio al subsidiar el costo de una bicicleta eléctrica o bicicleta eléctrica. Reducir la barrera para acceder a un transporte confiable ayudará a estos nuevos propietarios de bicicletas eléctricas a utilizar el sistema de transporte para acceder a lugares valiosos desde el punto de vista económico, social y ambiental.", + "short_textual_description": "La ciudad de San Antonio está interesada en recopilar datos sobre el uso de bicicletas eléctricas de los participantes en su Programa piloto de reembolso de bicicletas eléctricas para personas de bajos ingresos, que ofrece incentivos para que los residentes de San Antonio compren bicicletas eléctricas a precios asequibles.", + "why_we_collect": "La ciudad de San Antonio espera utilizar esta información para comprender mejor cómo se utilizan las bicicletas eléctricas, incluida la distancia recorrida, los viajes realizados, la reducción de emisiones asociada y los posibles impactos en la equidad.", + "research_questions": [ + "¿Cómo utilizarán estas bicicletas eléctricas los participantes del estudio?", + "¿Qué viajes (modo de transporte, duración del viaje) sustituirá el participante por la bicicleta eléctrica?", + "¿Podrá el participante utilizar la bicicleta eléctrica para viajes que de otro modo no se realizarían?" + ] + } + } + }, + "survey_info": { + "surveys": { + "UserProfileSurvey": { + "formPath": "json/demo-survey-v2.json", + "version": 1, + "compatibleWith": 1, + "dataKey": "manual/demographic_survey", + "labelTemplate": { + "en": "Answered", + "es": "Contestada" + } + } + }, + "trip-labels": "MULTILABEL" + }, + "display_config": { + "use_imperial": true + }, + "metrics": { + "include_test_users": true + }, + "profile_controls": { + "support_upload": false, + "trip_end_notification": false + }, + "admin_dashboard": { + "data_trips_columns_exclude": [], + "additional_trip_columns": [], + "data_uuids_columns_exclude": [], + "token_prefix": "nrelop", + "toekn_generate": "true", + "overview_users": true, + "overview_active_users": true, + "overview_trips": true, + "overview_signup_trends": true, + "overview_trips_trend": true, + "data_uuids": true, + "data_trips": true, + "map_heatmap": true, + "map_bubble": true, + "map_trip_lines": false, + "options_uuids": true, + "options_emails": true, + "admin_access": [ + "ricardo.ambriz2@sanantonio.gov" + ] + } +} diff --git a/configs/dcebike.nrel-op.json b/configs/dcebike.nrel-op.json new file mode 100644 index 00000000..a73e33ec --- /dev/null +++ b/configs/dcebike.nrel-op.json @@ -0,0 +1,88 @@ +{ + "version": 1, + "ts": 1655143472, + "server": { + "connectUrl": "https://dcebike-openpath.nrel.gov/api/", + "aggregate_call_auth": "user_only" + }, + "opcode": { + "autogen": true, + "subgroups": ["test", "default", "control"] + }, + "intro": { + "program_or_study": "program", + "start_month": "01", + "start_year": "2024", + "mode_studied": "e-bike", + "program_admin_contact": "Katy Lang at the District Department of Transportation (email: Kathryn.Lang@dc.gov, phone: 202-590-8349)", + "deployment_partner_name": "District Department of Transportation (DDOT)", + "translated_text": { + "en": { + "deployment_partner_name": "District Department of Transportation (DDOT)", + "deployment_name": "District Electric Bicycle Incentive Program", + "summary_line_1": "The District Department of Transportation (DDOT) and the Council of the District of Columbia aim to equitably increase e-bike ownership in the District and reduce carbon emissions from transportation.", + "summary_line_2": "The District Electric Bicycle Incentive Program provides vouchers and rebates to District residents for the purchase of an electric bicycle or electric cargo bicycle (“e- bike”).", + "summary_line_3": "If you are a program recipient, this app can help you log your trips and provide valuable information to the District on how e-bikes are being used.", + "short_textual_description": "As DDOT and the Council aim to equitably increase e-bike ownership in the District and empower residents with sustainable, affordable ways of getting around, DDOT would like to experiment with an automated (“passive”) trip tracking solution for understanding travel behavior. This program study can allow DDOT and its partner NREL to understand mode shifts and transportation patterns without complex, time-consuming surveys.", + "why_we_collect": "The data collected during the program will be used to understand how e-bikes are used by recipients, including when and how often as well as distance travelled. It will also help the District understand VMT and carbon reductions as a result of recipients' substituted travel.", + "research_questions": ["How much VMT is reduced from program recipients traveling by e-bike instead of driving?", "What is the number, frequency, and duration of rides from program recipients?", "How do e-bike recipients' travel patterns differ by demographics and/or location?"] + }, + "es": { + "deployment_partner_name": "Departamento de Transporte del Distrito (DDOT)", + "deployment_name": "Programa distrital de incentivos para bicicletas eléctricas", + "summary_line_1": "El Departamento de Transporte del Distrito (DDOT) y el Consejo del Distrito de Columbia tienen como objetivo aumentar de manera equitativa la propiedad de bicicletas eléctricas en el Distrito y reducir las emisiones de carbono del transporte.", + "summary_line_2": "El Programa de incentivos para bicicletas eléctricas del distrito ofrece vales y reembolsos a los residentes del distrito por la compra de una bicicleta eléctrica o una bicicleta de carga eléctrica (“e-bike”).", + "summary_line_3": "Si es beneficiario del programa, esta aplicación puede ayudarlo a registrar sus viajes y brindar información valiosa al Distrito sobre cómo se utilizan las bicicletas eléctricas.", + "short_textual_description": "Mientras el DDOT y el Consejo apuntan a aumentar equitativamente la propiedad de bicicletas eléctricas en el Distrito y capacitar a los residentes con formas sostenibles y asequibles de desplazarse, al DDOT le gustaría experimentar con una solución de seguimiento de viajes automatizada (“pasiva”) para comprender el comportamiento de los viajes. Este estudio del programa puede permitir que el DDOT y su socio NREL comprendan los cambios de modo y los patrones de transporte sin realizar encuestas complejas y que requieran mucho tiempo.", + "why_we_collect" : "Los datos recopilados durante el programa se utilizarán para comprender cómo los destinatarios utilizan las bicicletas eléctricas, incluido cuándo y con qué frecuencia, así como la distancia recorrida. También ayudará al Distrito a comprender el VMT y las reducciones de carbono como resultado de los viajes sustituidos de los destinatarios.", + "research_questions": ["¿Cuánto se reduce el VMT a los beneficiarios del programa que viajan en bicicleta eléctrica en lugar de conducir?", "¿Cuál es el número, la frecuencia y la duración de los viajes de los beneficiarios del programa?", "¿En qué se diferencian los patrones de viaje de los destinatarios de bicicletas eléctricas según la demografía y/o la ubicación?"] + } + + } + }, + "survey_info": { + "surveys": { + "UserProfileSurvey": { + "formPath": "https://raw.githubusercontent.com/e-mission/nrel-openpath-deploy-configs/main/survey_resources/dcebike/dcebike-onboarding-v2.xml", + "version": 1, + "compatibleWith": 1, + "dataKey": "manual/demographic_survey", + "labelTemplate": { + "en": "Answered", + "es": "Contestada" + } + } + }, + "trip-labels": "MULTILABEL" + }, + "display_config": { + "use_imperial": true + }, + "metrics": { + "include_test_users": true + }, + "profile_controls": { + "support_upload": false, + "trip_end_notification": false + }, + "admin_dashboard": { + "overview_users": true, + "overview_active_users": true, + "overview_trips": true, + "overview_signup_trends": true, + "overview_trips_trend": true, + "data_uuids": true, + "data_trips": true, + "data_trips_columns_exclude": ["data.start_loc.coordinates", "data.end_loc.coordinates"], + "additional_trip_columns": [], + "data_uuids_columns_exclude": [], + "token_generate": false, + "token_prefix": "nrelop", + "map_heatmap": true, + "map_bubble": true, + "map_trip_lines": false, + "push_send": false, + "options_uuids": true, + "options_emails": true + } +} diff --git a/configs/denver-casr.nrel-op.json b/configs/denver-casr.nrel-op.json index a44d7b95..56f4c0ce 100644 --- a/configs/denver-casr.nrel-op.json +++ b/configs/denver-casr.nrel-op.json @@ -118,6 +118,7 @@ "trip_end_notification": false }, "admin_dashboard": { + "admin_access": ["K.Shankari@nrel.gov", "sue.baldwin@denvergov.org", "Mike.Salisbury@denvergov.org"], "overview_users": true, "overview_active_users": true, "overview_trips": true, diff --git a/configs/dfc-fermata.nrel-op.json b/configs/dfc-fermata.nrel-op.json new file mode 100644 index 00000000..6eeef79d --- /dev/null +++ b/configs/dfc-fermata.nrel-op.json @@ -0,0 +1,278 @@ +{ + "url_abbreviation": "dfc-fermata", + "version": 4, + "ts": 1707714796485, + "server": { + "connectUrl": "https://dfc-fermata-openpath.nrel.gov/api/", + "aggregate_call_auth": "user_only" + }, + "opcode": { + "autogen": true, + "subgroups": [ + "test", + "default" + ] + }, + "intro": { + "program_or_study": "study", + "start_month": "04", + "start_year": "2024", + "mode_studied": "", + "program_admin_contact": "leidy.boyce@nrel.gov", + "deployment_partner_name": "GSA", + "translated_text": { + "en": { + "deployment_partner_name": "GSA", + "deployment_name": "Fermata", + "summary_line_1": "Examine the effect of perceived the challenges and ease of use toward using electric vehicles and electric vehicle charging infrastructure", + "summary_line_2": "", + "summary_line_3": "", + "short_textual_description": "EVSE tech validation", + "why_we_collect": "Gather user input on EVSE tech adoption", + "research_questions": [] + } + } + }, + "survey_info": { + "surveys": { + "UserProfileSurvey": { + "formPath": "https://raw.githubusercontent.com/e-mission/nrel-openpath-deploy-configs/main/survey_resources/dfc-fermata/dfc-onboarding-v0.xml", + "version": 1, + "compatibleWith": 1, + "dataKey": "manual/demographic_survey", + "labelTemplate": { "en": "Answered" } + }, + "DfcEvReturnTrip": { + "formPath": "https://raw.githubusercontent.com/e-mission/nrel-openpath-deploy-configs/main/survey_resources/dfc-fermata/dfc-ev-return-trip-v0.xml", + "version": 1, + "compatibleWith": 1, + "dataKey": "manual/trip_user_input", + "labelTemplate": { "en": "Answered" } + }, + "DfcEvRoamingTrip": { + "formPath": "https://raw.githubusercontent.com/e-mission/nrel-openpath-deploy-configs/main/survey_resources/dfc-fermata/dfc-ev-roaming-trip-v0.xml", + "version": 1, + "compatibleWith": 1, + "dataKey": "manual/trip_user_input", + "labelTemplate": { "en": "Answered" } + }, + "DfcGasTrip": { + "formPath": "https://raw.githubusercontent.com/e-mission/nrel-openpath-deploy-configs/main/survey_resources/dfc-fermata/dfc-gas-trip-v0.xml", + "version": 1, + "compatibleWith": 1, + "dataKey": "manual/trip_user_input", + "labelTemplate": { "en": "Answered" } + } + }, + "buttons": { + "trip-label": [ + { + "surveyName": "DfcGasTrip", + "not-filled-in-label": { "en": "Gas Car Survey" }, + "showsIf": "confirmedMode?.baseMode == 'CAR'" + }, + { + "surveyName": "DfcEvRoamingTrip", + "not-filled-in-label": { "en": "EV Survey" }, + "showsIf": "confirmedMode?.baseMode == 'E_CAR' && !pointIsWithinBounds(end_loc['coordinates'], [[-105.118, 39.719], [-105.115, 39.717]])" + }, + { + "surveyName": "DfcEvReturnTrip", + "not-filled-in-label": { "en": "EV Survey" }, + "showsIf": "confirmedMode?.baseMode == 'E_CAR' && pointIsWithinBounds(end_loc['coordinates'], [[-105.118, 39.719], [-105.115, 39.717]])" + } + ] + }, + "trip-labels": "ENKETO" + }, + "vehicle_identities": [ + { + "value": "car_jacks_mazda3", + "bluetooth_major_minor": ["dfc0:fff0"], + "text": "Jack's Mazda 3", + "baseMode":"CAR", + "met_equivalent":"IN_VEHICLE", + "kgCo2PerKm": 0.16777, + "vehicle_info": { + "type": "car", + "license": "JHK ****", + "make": "Mazda", + "model": "3", + "year": 2014, + "color": "red", + "engine": "ICE", + "mpg": 33 + } + }, + { + "value": "car_abbys_prius", + "bluetooth_major_minor": ["dfc0:fff1"], + "text": "Abby's Prius", + "baseMode": "CAR", + "met_equivalent": "IN_VEHICLE", + "kgCo2PerKm": 0.11534, + "vehicle_info": { + "type": "car", + "license": "ABI 1234", + "make": "Toyota", + "model": "Prius", + "year": 2011, + "color": "silver", + "engine": "HEV", + "mpg": 48 + } + }, + { + "value": "ecar_gsa_leaf1", + "bluetooth_major_minor": ["dfc0:fff2"], + "text": "GSA Leaf 1", + "baseMode": "E_CAR", + "met_equivalent": "IN_VEHICLE", + "kgCo2PerKm": 0.08216, + "vehicle_info": { + "type": "car", + "license": "G13 1991Z", + "make": "Nissan", + "model": "Leaf", + "year": 0, + "color": "silver", + "engine": "BEV" + } + }, + { + "value": "ecar_gsa_leaf2", + "bluetooth_major_minor": ["dfc0:fff3"], + "text": "GSA Leaf 2", + "baseMode": "E_CAR", + "met_equivalent": "IN_VEHICLE", + "kgCo2PerKm": 0.08216, + "vehicle_info": { + "type": "car", + "license": "G13 1992Z", + "make": "Nissan", + "model": "Leaf", + "year": 0, + "color": "silver", + "engine": "BEV" + } + }, + { + "value": "ecar_gsa_pacifica", + "bluetooth_major_minor": ["dfc0:fff4"], + "text": "GSA Pacifica", + "baseMode": "E_CAR", + "met_equivalent": "IN_VEHICLE", + "kgCo2PerKm": 0.127, + "vehicle_info": { + "type": "car", + "license": "G41 4259Z", + "make": "Chrysler", + "model": "Pacifica", + "year": 0, + "color": "black", + "engine": "PHEV" + } + }, + { + "value": "ecar_gsa_bolt", + "bluetooth_major_minor": ["dfc0:fff5"], + "text": "GSA Bolt", + "baseMode": "E_CAR", + "met_equivalent": "IN_VEHICLE", + "kgCo2PerKm":0.08216, + "vehicle_info": { + "type": "car", + "license": "G13 1361W", + "make": "Chrysler", + "model": "Pacifica", + "year": 0, + "color": "silver", + "engine": "BEV" + } + }, + { + "value": "car_katie_solara", + "bluetooth_major_minor": ["dfc0:fff6"], + "text": "Katie's Solara", + "baseMode": "CAR", + "met_equivalent": "IN_VEHICLE", + "kgCo2PerKm": 0.26364, + "vehicle_info": { + "type": "car", + "license": "K8T IPLT", + "make": "Toyota", + "model": "Solara", + "year": 1999, + "color": "red", + "engine": "ICE", + "mpg": 21 + } + }, + { + "value": "ecar_louis_backpack", + "bluetooth_major_minor": ["dfc0:fff7"], + "text": "Louis's Backpack", + "baseMode":"E_CAR", + "met_equivalent":"IN_VEHICLE", + "kgCo2PerKm": 0.05536, + "vehicle_info": { + "type": "car", + "license": "123 ****", + "make": "Ace High", + "model": "2", + "year": 2020, + "color": "black", + "engine": "PHEV", + "mpge": 100 + } + } + ], + "tracking": { + "bluetooth_only": true + }, + "display_config": { + "use_imperial": true + }, + "metrics": { + "include_test_users": false, + "phone_dashboard_ui": { + "sections": ["footprint", "summary", "engagement", "surveys"], + "footprint_options": { + "unlabeled_uncertainty": false + }, + "summary_options": { + "metrics_list": ["distance", "count", "duration"] + }, + "engagement_options": { + "leaderboard_metric": ["distance", "e_car"] + } + } + }, + "profile_controls": { + "support_upload": false, + "trip_end_notification": true + }, + "admin_dashboard": { + "data_trips_columns_exclude": [], + "additional_trip_columns": [], + "data_uuids_columns_exclude": [], + "token_prefix": "nrelop", + "token_generate": "false", + "overview_users": true, + "overview_active_users": true, + "overview_trips": true, + "overview_signup_trends": true, + "overview_trips_trend": true, + "data_uuids": true, + "data_trips": true, + "map_heatmap": true, + "map_bubble": true, + "map_trip_lines": false, + "options_uuids": true, + "options_emails": true, + "admin_access": [ + "leidy.boyce@nrel.gov", + "christie.edie@gsa.gov" + ] + } +} diff --git a/configs/doee-electricbike-proj.nrel-op.json b/configs/doee-electricbike-proj.nrel-op.json new file mode 100644 index 00000000..33fcce7f --- /dev/null +++ b/configs/doee-electricbike-proj.nrel-op.json @@ -0,0 +1,108 @@ +{ + "url_abbreviation": "doee-electricbike-proj", + "version": 1, + "ts": 1707330356754, + "server": { + "connectUrl": "https://doee-electricbike-proj-openpath.nrel.gov/api/", + "aggregate_call_auth": "user_only" + }, + "opcode": { + "autogen": true, + "subgroups": [ + "test", + "default" + ] + }, + "intro": { + "program_or_study": "program", + "start_month": "01", + "start_year": "2024", + "mode_studied": "e-bike", + "program_admin_contact": "For questions about the program, please contact Robera Tasissa (robera.tasissa@dc.gov) or Laura Pimentel (laura.pimentel@dc.gov).", + "deployment_partner_name": "Energy Administration at District of Columbia Department of Energy and Environment", + "translated_text": { + "en": { + "deployment_partner_name": "Energy Administration at District of Columbia Department of Energy and Environment", + "deployment_name": "E-bike library project", + "summary_line_1": "The EA at DOEE aims to incentivize commuters to adopt energy-efficient, non- polluting modes of transportation and maximize air quality benefits.", + "summary_line_2": "This pilot program is providing e-bikes to low-income program participants in Southwest DC.", + "summary_line_3": "If you are a program participant, this app can help you log your trips and compete against others to benefit our environment.", + "short_textual_description": "The pilot will allow District residents to try out various types of e-bikes at no-cost and encourage a mode shift that reduces emissions, increases mobility for low-income residents, and demonstrates an e-bike library concept applicable to everyday life. At the end of the pilot, the data tracked using the NREL Openpath app will be used to understand e-bike use behavior, mode-shift, and any barriers to adoption.", + "why_we_collect": "The data collected during the program will be used to understand: how e-bikes are used, including when and how often, distance travelled, and the preferred type of e- bikes.", + "research_questions": [ + "Travel behavior using e-bikes?", + "Barriers to e-bike use and adoption in Southwest DC?", + "" + ] + }, + "es": { + "deployment_partner_name": "Administración de Energía en el Departamento de Energía y Medio Ambiente del Distrito de Columbia", + "deployment_name": "Proyecto de biblioteca de bicicletas eléctricas", + "summary_line_1": "La EA en DOEE tiene como objetivo incentivar a los viajeros a adoptar modos de transporte no contaminantes y energéticamente eficientes y maximizar los beneficios de la calidad del aire.", + "summary_line_2": "Este programa piloto proporciona bicicletas eléctricas a participantes del programa de bajos ingresos en el suroeste de DC.", + "summary_line_3": "Si participa en el programa, esta aplicación puede ayudarle a registrar sus viajes y competir contra otros en beneficio de nuestro medio ambiente.", + "short_textual_description": "El piloto permitirá a los residentes del distrito probar varios tipos de bicicletas eléctricas sin costo y fomentará un cambio de modo que reduzca las emisiones, aumente la movilidad de los residentes de bajos ingresos y demuestre un concepto de biblioteca de bicicletas eléctricas aplicable a la vida cotidiana. Al final del piloto, los datos rastreados mediante la aplicación NREL Openpath se utilizarán para comprender el comportamiento de uso de bicicletas eléctricas, el cambio de modo y cualquier barrera para la adopción.", + "why_we_collect": "Los datos recopilados durante el programa se utilizarán para comprender: cómo se utilizan las bicicletas eléctricas, incluido cuándo y con qué frecuencia, la distancia recorrida y el tipo preferido de bicicletas eléctricas.", + "research_questions": [ + "¿Comportamiento de viaje con bicicletas eléctricas?", + "¿Barreras para el uso y la adopción de bicicletas eléctricas en el suroeste de DC?", + "" + ] + } + } + }, + "survey_info": { + "surveys": { + "UserProfileSurvey": { + "formPath": "json/demo-survey-v2.json", + "version": 1, + "compatibleWith": 1, + "dataKey": "manual/demographic_survey", + "labelTemplate": { + "en": "Answered", + "es": "Contestada" + } + } + }, + "trip-labels": "MULTILABEL" + }, + "display_config": { + "use_imperial": true + }, + "metrics": { + "include_test_users": true + }, + "profile_controls": { + "support_upload": false, + "trip_end_notification": false + }, + "admin_dashboard": { + "data_trips_columns_exclude": [ + "data.start_loc.coordinates", + "data.end_loc.coordinates" + ], + "additional_trip_columns": [], + "data_uuids_columns_exclude": [], + "token_prefix": "nrelop", + "toekn_generate": "true", + "overview_users": true, + "overview_active_users": true, + "overview_trips": true, + "overview_signup_trends": true, + "overview_trips_trend": true, + "data_uuids": true, + "data_trips": true, + "map_heatmap": true, + "map_bubble": true, + "map_trip_lines": false, + "options_uuids": true, + "options_emails": true, + "admin_access": [ + "laura.pimentel@dc.gov", + "robera.tasissa@dc.gov", + "zbaldwin@swbid.org", + "lalbe@swbid.org", + "schoi@swbid.org" + ] + } +} diff --git a/configs/ebikegj.nrel-op.json b/configs/ebikegj.nrel-op.json index 43e8d4bf..e901486c 100644 --- a/configs/ebikegj.nrel-op.json +++ b/configs/ebikegj.nrel-op.json @@ -8,7 +8,7 @@ }, "opcode": { "autogen": true, - "subgroups": ["test", "default"] + "subgroups": ["test", "default", "second-cohort"] }, "intro": { "program_or_study": "program", diff --git a/configs/r2ohillsboro.nrel-op.json b/configs/r2ohillsboro.nrel-op.json new file mode 100644 index 00000000..bb019b20 --- /dev/null +++ b/configs/r2ohillsboro.nrel-op.json @@ -0,0 +1,91 @@ +{ + "url_abbreviation": "r2ohillsboro", + "version": 1, + "ts": 1710791041169, + "server": { + "connectUrl": "https://r2ohillsboro-openpath.nrel.gov/api/", + "aggregate_call_auth": "user_only" + }, + "opcode": { + "autogen": true, + "subgroups": [ + "test", + "default" + ] + }, + "intro": { + "program_or_study": "program", + "start_month": "5", + "start_year": "2024", + "mode_studied": "e-bike", + "program_admin_contact": "Madi Carlson (madi@thestreettrust.org), Burgin Utaski (burgin@thestreettrust.org), Maris Yurdana (maris@weallrisegroup.com)", + "deployment_partner_name": "The Street Trust", + "translated_text": { + "en": { + "deployment_partner_name": "The Street Trust", + "deployment_name": "Ride 2 Own E-Bike Pilot Program: Hillsboro", + "summary_line_1": "The Street Trust aims to remove (offset) barriers to entry for e-bike ownership, contributing to the health and wellbeing of participants by using an energy-efficient, non-polluting mode of transportation that maximizes air quality benefits.", + "summary_line_2": "This pilot program provides e-bikes to individuals in Hillsboro, OR who want to start riding, but don't have the financial means or previous experience to purchase one themselves.", + "summary_line_3": "If you are a program participant, this app can help you log your trips.", + "short_textual_description": "TST would like to pilot the demand-shift potential for e-bike ownership in the Portland area by hosting a year-long \"ride to own\" program where participants receive a free e-bike, gear, accessories, and bike education in exchange for one year of qualitative and quantitative trip data sharing. To gather the data needed, this pilot requires an automated trip tracking solution for understanding travel behavior. The pilot will allow TST to understand variations in travel across days of the week and months of the year without complex, time-consuming surveys.", + "why_we_collect": "The data collected during the program will be used to understand how e-bikes are used, including when and how often as well as distance traveled. TST can use this information to understand how people are using e-bikes, what their constraints are, and will help policymakers and decisionmakers in Oregon understand how to better provide bike infrastructure to the area. This comprehensive information will aid TST in its mission to help build a complete, safe, low-carbon, multimodal transportation system that contributes to equity in access, opportunity, health, and prosperity for people and communities across the Portland Metro Region and beyond.", + "research_questions": [ + "Travel behavior modeling to support cost-benefit analyses of other ride-to-own e-bike programs as well as e-bike ownership for low-income individuals.", + "Travel behavior modeling to inform local and regional bike infrastructure investments.", + "The impact of demand shifts towards e-bike use on transportation energy efficiency and GHG emissions." + ] + } + } + }, + "survey_info": { + "surveys": { + "UserProfileSurvey": { + "formPath": "json/demo-survey-v2.json", + "version": 1, + "compatibleWith": 1, + "dataKey": "manual/demographic_survey", + "labelTemplate": { + "en": "Answered", + "es": "Contestada" + } + } + }, + "trip-labels": "MULTILABEL" + }, + "display_config": { + "use_imperial": true + }, + "metrics": { + "include_test_users": true + }, + "profile_controls": { + "support_upload": false, + "trip_end_notification": false + }, + "admin_dashboard": { + "data_trips_columns_exclude": [], + "additional_trip_columns": [], + "data_uuids_columns_exclude": [], + "token_prefix": "nrelop", + "toekn_generate": "true", + "overview_users": true, + "overview_active_users": true, + "overview_trips": true, + "overview_signup_trends": true, + "overview_trips_trend": true, + "data_uuids": true, + "data_trips": true, + "map_heatmap": true, + "map_bubble": true, + "map_trip_lines": false, + "options_uuids": true, + "options_emails": true, + "admin_access": [ + "madi@thestreettrust.org", + "burgin@thestreettrust.org", + "maris@weallrisegroup.com", + "quincy@weallrisegroup.com", + "volunteer@thestreettrust.org" + ] + } +} \ No newline at end of file diff --git a/configs/r2omilwaukie.nrel-op.json b/configs/r2omilwaukie.nrel-op.json new file mode 100644 index 00000000..fc52b99c --- /dev/null +++ b/configs/r2omilwaukie.nrel-op.json @@ -0,0 +1,91 @@ +{ + "url_abbreviation": "r2omilwaukie", + "version": 1, + "ts": 1710790818295, + "server": { + "connectUrl": "https://r2omilwaukie-openpath.nrel.gov/api/", + "aggregate_call_auth": "user_only" + }, + "opcode": { + "autogen": true, + "subgroups": [ + "test", + "default" + ] + }, + "intro": { + "program_or_study": "program", + "start_month": "5", + "start_year": "2024", + "mode_studied": "e-bike", + "program_admin_contact": "Madi Carlson (madi@thestreettrust.org), Burgin Utaski (burgin@thestreettrust.org), Maris Yurdana (maris@weallrisegroup.com)", + "deployment_partner_name": "The Street Trust", + "translated_text": { + "en": { + "deployment_partner_name": "The Street Trust", + "deployment_name": "Ride 2 Own E-Bike Pilot Program: Milwaukie", + "summary_line_1": "The Street Trust aims to remove (offset) barriers to entry for e-bike ownership, contributing to the health and wellbeing of participants by using an energy-efficient, non-polluting mode of transportation that maximizes air quality benefits.", + "summary_line_2": "This pilot program provides e-bikes to individuals in Milwaukie, OR who want to start riding, but don't have the financial means or previous experience to purchase one themselves.", + "summary_line_3": "If you are a program participant, this app can help you log your trips.", + "short_textual_description": "TST would like to pilot the demand-shift potential for e-bike ownership in the Portland area by hosting a year-long \"ride to own\" program where participants receive a free e-bike, gear, accessories, and bike education in exchange for one year of qualitative and quantitative trip data sharing. To gather the data needed, this pilot requires an automated trip tracking solution for understanding travel behavior. The pilot will allow TST to understand variations in travel across days of the week and months of the year without complex, time-consuming surveys.", + "why_we_collect": "The data collected during the program will be used to understand how e-bikes are used, including when and how often as well as distance traveled. TST can use this information to understand how people are using e-bikes, what their constraints are, and will help policymakers and decisionmakers in Oregon understand how to better provide bike infrastructure to the area. This comprehensive information will aid TST in its mission to help build a complete, safe, low-carbon, multimodal transportation system that contributes to equity in access, opportunity, health, and prosperity for people and communities across the Portland Metro Region and beyond.", + "research_questions": [ + "Travel behavior modeling to support cost-benefit analyses of other ride-to-own e-bike programs as well as e-bike ownership for low-income individuals.", + "Travel behavior modeling to inform local and regional bike infrastructure investments.", + "The impact of demand shifts towards e-bike use on transportation energy efficiency and GHG emissions." + ] + } + } + }, + "survey_info": { + "surveys": { + "UserProfileSurvey": { + "formPath": "json/demo-survey-v2.json", + "version": 1, + "compatibleWith": 1, + "dataKey": "manual/demographic_survey", + "labelTemplate": { + "en": "Answered", + "es": "Contestada" + } + } + }, + "trip-labels": "MULTILABEL" + }, + "display_config": { + "use_imperial": true + }, + "metrics": { + "include_test_users": true + }, + "profile_controls": { + "support_upload": false, + "trip_end_notification": false + }, + "admin_dashboard": { + "data_trips_columns_exclude": [], + "additional_trip_columns": [], + "data_uuids_columns_exclude": [], + "token_prefix": "nrelop", + "toekn_generate": "true", + "overview_users": true, + "overview_active_users": true, + "overview_trips": true, + "overview_signup_trends": true, + "overview_trips_trend": true, + "data_uuids": true, + "data_trips": true, + "map_heatmap": true, + "map_bubble": true, + "map_trip_lines": false, + "options_uuids": true, + "options_emails": true, + "admin_access": [ + "madi@thestreettrust.org", + "burgin@thestreettrust.org", + "maris@weallrisegroup.com", + "quincy@weallrisegroup.com", + "volunteer@thestreettrust.org" + ] + } +} \ No newline at end of file diff --git a/configs/r2oparkrose.nrel-op.json b/configs/r2oparkrose.nrel-op.json new file mode 100644 index 00000000..d0e46000 --- /dev/null +++ b/configs/r2oparkrose.nrel-op.json @@ -0,0 +1,91 @@ +{ + "url_abbreviation": "r2oparkrose", + "version": 1, + "ts": 1710790398236, + "server": { + "connectUrl": "https://r2oparkrose-openpath.nrel.gov/api/", + "aggregate_call_auth": "user_only" + }, + "opcode": { + "autogen": true, + "subgroups": [ + "test", + "default" + ] + }, + "intro": { + "program_or_study": "program", + "start_month": "4", + "start_year": "2024", + "mode_studied": "e-bike", + "program_admin_contact": "Madi Carlson (madi@thestreettrust.org), Burgin Utaski (burgin@thestreettrust.org), Maris Yurdana (maris@weallrisegroup.com)", + "deployment_partner_name": "The Street Trust", + "translated_text": { + "en": { + "deployment_partner_name": "The Street Trust", + "deployment_name": "Ride 2 Own E-Bike Pilot Program: Parkrose", + "summary_line_1": "The Street Trust aims to remove (offset) barriers to entry for e-bike ownership, contributing to the health and wellbeing of participants by using an energy-efficient, non-polluting mode of transportation that maximizes air quality benefits.", + "summary_line_2": "This pilot program provides e-bikes to individuals in the Parkrose neighborhood of Portland, OR who want to start riding, but don't have the financial means or previous experience to purchase one themselves.", + "summary_line_3": "If you are a program participant, this app can help you log your trips.", + "short_textual_description": "TST would like to pilot the demand-shift potential for e-bike ownership in the Portland area by hosting a year-long \"ride to own\" program where participants receive a free e-bike, gear, accessories, and bike education in exchange for one year of qualitative and quantitative trip data sharing. To gather the data needed, this pilot requires an automated trip tracking solution for understanding travel behavior. The pilot will allow TST to understand variations in travel across days of the week and months of the year without complex, time-consuming surveys.", + "why_we_collect": "The data collected during the program will be used to understand how e-bikes are used, including when and how often as well as distance traveled. TST can use this information to understand how people are using e-bikes, what their constraints are, and will help policymakers and decisionmakers in Oregon understand how to better provide bike infrastructure to the area. This comprehensive information will aid TST in its mission to help build a complete, safe, low-carbon, multimodal transportation system that contributes to equity in access, opportunity, health, and prosperity for people and communities across the Portland Metro Region and beyond.", + "research_questions": [ + "Travel behavior modeling to support cost-benefit analyses of other ride-to-own e-bike programs as well as e-bike ownership for low-income individuals.", + "Travel behavior modeling to inform local and regional bike infrastructure investments.", + "The impact of demand shifts towards e-bike use on transportation energy efficiency and GHG emissions." + ] + } + } + }, + "survey_info": { + "surveys": { + "UserProfileSurvey": { + "formPath": "json/demo-survey-v2.json", + "version": 1, + "compatibleWith": 1, + "dataKey": "manual/demographic_survey", + "labelTemplate": { + "en": "Answered", + "es": "Contestada" + } + } + }, + "trip-labels": "MULTILABEL" + }, + "display_config": { + "use_imperial": true + }, + "metrics": { + "include_test_users": true + }, + "profile_controls": { + "support_upload": false, + "trip_end_notification": false + }, + "admin_dashboard": { + "data_trips_columns_exclude": [], + "additional_trip_columns": [], + "data_uuids_columns_exclude": [], + "token_prefix": "nrelop", + "toekn_generate": "true", + "overview_users": true, + "overview_active_users": true, + "overview_trips": true, + "overview_signup_trends": true, + "overview_trips_trend": true, + "data_uuids": true, + "data_trips": true, + "map_heatmap": true, + "map_bubble": true, + "map_trip_lines": false, + "options_uuids": true, + "options_emails": true, + "admin_access": [ + "madi@thestreettrust.org", + "burgin@thestreettrust.org", + "maris@weallrisegroup.com", + "quincy@weallrisegroup.com", + "volunteer@thestreettrust.org" + ] + } +} \ No newline at end of file diff --git a/configs/ride2own.nrel-op.json b/configs/ride2own.nrel-op.json index 1b6b039a..d3b85802 100644 --- a/configs/ride2own.nrel-op.json +++ b/configs/ride2own.nrel-op.json @@ -54,6 +54,7 @@ "trip_end_notification": false }, "admin_dashboard": { + "admin_access": ["griffin@weallrisegroup.com", "henry@thestreettrust.org", "burgin@thestreettrust.org", "quincy@weallrisegroup.com", "madi@thestreettrust.org", "k.shankari@nrel.gov"], "overview_users": true, "overview_active_users": true, "overview_trips": true, @@ -74,4 +75,4 @@ "options_emails": true, "data_trajectories_columns_exclude": ["user_id"] } -} \ No newline at end of file +} diff --git a/configs/smart-commute-ebike.nrel-op.json b/configs/smart-commute-ebike.nrel-op.json index 991575e5..b9504310 100644 --- a/configs/smart-commute-ebike.nrel-op.json +++ b/configs/smart-commute-ebike.nrel-op.json @@ -64,6 +64,11 @@ "push_send": false, "options_uuids": true, "options_emails": true, - "data_trajectories_columns_exclude": ["user_id"] + "data_trajectories_columns_exclude": ["user_id"], + "admin_access": [ + "jeanne@smartcommute.org", + "jianli.gu@nrel.gov", + "k.shankari@nrel.gov" + ] } } diff --git a/configs/usaid-laos-ev.nrel-op.json b/configs/usaid-laos-ev.nrel-op.json index bacca348..6b4cbc62 100644 --- a/configs/usaid-laos-ev.nrel-op.json +++ b/configs/usaid-laos-ev.nrel-op.json @@ -38,7 +38,7 @@ "survey_info": { "surveys": { "UserProfileSurvey": { - "formPath": "https://raw.githubusercontent.com/e-mission/nrel-openpath-deploy-configs/main/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v1.json", + "formPath": "https://raw.githubusercontent.com/e-mission/nrel-openpath-deploy-configs/main/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v2.xml", "version": 1, "compatibleWith": 1, "dataKey": "manual/demographic_survey", @@ -51,7 +51,7 @@ "trip-labels": "MULTILABEL" }, "display_config": { - "use_imperial": true + "use_imperial": false }, "metrics": { "include_test_users": true @@ -61,6 +61,7 @@ "trip_end_notification": false }, "admin_dashboard": { + "admin_access": ["K.Shankari@nrel.gov", "awheelis@nrel.gov", "sebastian.barry@nrel.gov", "Sanjini.Nanayakkara@nrel.gov", "Kosol.Kiatreungwattana@nrel.gov", "Dustin.Weigl@nrel.gov", "thythavysiphachanh@gmail.com"], "overview_users": true, "overview_active_users": true, "overview_trips": true, diff --git a/configs/uw-prs.nrel-op.json b/configs/uw-prs.nrel-op.json new file mode 100644 index 00000000..342116ac --- /dev/null +++ b/configs/uw-prs.nrel-op.json @@ -0,0 +1,106 @@ +{ + "url_abbreviation": "uw-prs", + "version": 1, + "ts": 1707503923100, + "server": { + "connectUrl": "https://uw-prs-openpath.nrel.gov/api/", + "aggregate_call_auth": "user_only" + }, + "opcode": { + "autogen": true, + "subgroups": [ + "test", + "default" + ] + }, + "intro": { + "program_or_study": "study", + "start_month": "02", + "start_year": "2024", + "mode_studied": "", + "program_admin_contact": "For questions about the study, please contact Congjing Zhang at the University of Washington (email: congjing@uw.edu).", + "deployment_partner_name": "University of Washington", + "translated_text": { + "en": { + "deployment_partner_name": "University of Washington", + "deployment_name": "UW Personalized Recommendation Systems Study", + "summary_line_1": "UW is focused on using rewards to encourage commuters to switch to energy- efficient and environment-friendly transportation options, with the goal of enhancing air quality.", + "summary_line_2": "This APP can help you record your trips, including time, locations, and travel purpose.", + "summary_line_3": "In this study, it is providing users with personalized recommendations (e.g., restaurants and museums) to change people’s lifestyle.", + "short_textual_description": "To make better personalized recommendation, the data collection is very important. The APP can prioritize data collection tasks and identify crucial time points for data collection with the help of incorporation of latest developments in adaptive sensing, uncertainty quantification, and predictive science. On the other hand, the better personalized recommendation the APP can offer, the better user engagement, that will ultimately translate into a long-term adaption of the APP by a wide range of users.", + "why_we_collect": "UW can use the information in the APP to create tool and methods to better collect data. Then UW can build data-driven personalized recommendation models for responsive, data-driven decision-making. The APP can change travel behavior improvement of transit and micromobility by reducing car dependency and encouraging walking, biking, and transit use.", + "research_questions": [ + "Conducting travel behavior modeling to aid in making accurate travel demand prediction and personalized recommendation.", + "The impact of rewards on people’s willingness to change the transportation mode.", + "" + ] + }, + "es": { + "deployment_partner_name": "Universidad de Washington", + "deployment_name": "Estudio de sistemas de recomendación personalizados de la Universidad de Washington", + "summary_line_1": "La Universidad de Washington se centra en el uso de recompensas para alentar a los viajeros a cambiar a opciones de transporte energéticamente eficientes y respetuosas con el medio ambiente, con el objetivo de mejorar la calidad del aire.", + "summary_line_2": "Esta aplicación puede ayudarle a registrar sus viajes, incluida la hora, los lugares y el motivo del viaje.", + "summary_line_3": "En este estudio, proporciona a los usuarios recomendaciones personalizadas (por ejemplo, restaurantes y museos) para cambiar el estilo de vida de las personas.", + "short_textual_description": "Para hacer una recomendación mejor personalizada, la recopilación de datos es muy importante. La aplicación puede priorizar las tareas de recopilación de datos e identificar momentos cruciales para la recopilación de datos con la ayuda de la incorporación de los últimos avances en detección adaptativa, cuantificación de incertidumbre y ciencia predictiva. Por otro lado, cuanto mejor sea la recomendación personalizada que pueda ofrecer la aplicación, mayor será la participación del usuario, lo que en última instancia se traducirá en una adaptación a largo plazo de la aplicación por parte de una amplia gama de usuarios.", + "why_we_collect": "UW puede utilizar la información de la APLICACIÓN para crear herramientas y métodos para recopilar mejor datos. Luego, la Universidad de Washington puede crear modelos de recomendación personalizados basados en datos para una toma de decisiones responsiva y basada en datos. La aplicación puede cambiar el comportamiento de viaje, mejorar el transporte público y la micromovilidad al reducir la dependencia del automóvil y fomentar el uso de caminar, andar en bicicleta y el transporte público.", + "research_questions": [ + "Realizar modelos de comportamiento de viaje para ayudar a realizar predicciones precisas de la demanda de viajes y recomendaciones personalizadas.", + "El impacto de las recompensas en la voluntad de las personas de cambiar el modo de transporte.", + "" + ] + } + } + }, + "survey_info": { + "surveys": { + "UserProfileSurvey": { + "formPath": "json/demo-survey-v2.json", + "version": 1, + "compatibleWith": 1, + "dataKey": "manual/demographic_survey", + "labelTemplate": { + "en": "Answered", + "es": "Contestada" + } + } + }, + "trip-labels": "MULTILABEL" + }, + "display_config": { + "use_imperial": true + }, + "metrics": { + "include_test_users": true + }, + "profile_controls": { + "support_upload": false, + "trip_end_notification": false + }, + "admin_dashboard": { + "data_trips_columns_exclude": [ + "data.start_loc.coordinates", + "data.end_loc.coordinates" + ], + "additional_trip_columns": [], + "data_uuids_columns_exclude": [], + "token_prefix": "nrelop", + "toekn_generate": "true", + "overview_users": true, + "overview_active_users": true, + "overview_trips": true, + "overview_signup_trends": true, + "overview_trips_trend": true, + "data_uuids": true, + "data_trips": true, + "map_heatmap": true, + "map_bubble": true, + "map_trip_lines": false, + "options_uuids": true, + "options_emails": true, + "admin_access": [ + "congjing@uw.edu", + "ryanflin@uw.edu", + "ugurel@uw.edu" + ] + } +} diff --git a/configs/washingtoncommons.nrel-op.json b/configs/washingtoncommons.nrel-op.json index 712d4095..adefcaee 100644 --- a/configs/washingtoncommons.nrel-op.json +++ b/configs/washingtoncommons.nrel-op.json @@ -42,7 +42,7 @@ "survey_info": { "surveys": { "UserProfileSurvey": { - "formPath": "https://raw.githubusercontent.com/e-mission/nrel-openpath-deploy-configs/main/survey_resources/washingtoncommons/washingtoncommons-onboarding-survey-v3.json", + "formPath": "https://raw.githubusercontent.com/e-mission/nrel-openpath-deploy-configs/main/survey_resources/washingtoncommons/washingtoncommons-onboarding-survey-v4.xml", "version": 1.3, "compatibleWith": 1, "dataKey": "manual/demographic_survey", diff --git a/email_automation/email-config.py b/email_automation/email-config.py new file mode 100644 index 00000000..c772647a --- /dev/null +++ b/email_automation/email-config.py @@ -0,0 +1,185 @@ +import boto3 +from botocore.exceptions import ClientError +import json +import os +import logging +import sys +import argparse +logger = logging.getLogger() +logger.setLevel(logging.INFO) +# If you don't have boto3 installed, make sure to `pip install boto3` before running this script. + +if __name__ == "__main__": + parser = argparse.ArgumentParser() + group = parser.add_mutually_exclusive_group(required=True) + group.add_argument('-l', '--local', + help = 'Running locally. Provide full path to config file + install boto3 prior to running.' ) + group.add_argument('-g', '--github', + help = 'Must be run on GitHub. To run locally, use -l argument.') + args = parser.parse_args() + filepath_raw = sys.argv[2] + filename_raw = filepath_raw.split("/")[-1] + filename = filename_raw.split('.')[0] + pool_name = "nrelopenpath-prod-" + filename + current_path = os.path.dirname(__file__) + maindir = current_path.rsplit("/",1)[0] + config_path = filepath_raw if args.local else maindir + f'/configs/{filename_raw}' + +if args.local: + #Set up AWS credentials as environment variables + set variables + ACCESS = os.environ.get("AWS_ACCESS_KEY_ID") + SECRET = os.environ.get("AWS_SECRET_ACCESS_KEY") + TOKEN = os.environ.get("AWS_SESSION_TOKEN") + AWS_REGION = "us-west-2" + + #Set up clients + cognito_client = boto3.client( + 'cognito-idp', + aws_access_key_id = ACCESS, + aws_secret_access_key= SECRET, + aws_session_token=TOKEN, + region_name=AWS_REGION + ) + + sts_client = boto3.client( + 'sts', + aws_access_key_id = ACCESS, + aws_secret_access_key= SECRET, + aws_session_token=TOKEN, + region_name=AWS_REGION + ) +if args.github: + AWS_REGION = os.environ.get("AWS_REGION") + cognito_client = boto3.client('cognito-idp', region_name=AWS_REGION) + sts_client = '' +# Functions +def get_userpool_name(pool_name, cognito_client): + response = cognito_client.list_user_pools(MaxResults=60) + is_userpool_exist = False + user_pools = [user_pool["Name"] for user_pool in response["UserPools"]] + is_userpool_exist = True if pool_name in user_pools else False + user_pool_index = user_pools.index(pool_name) if is_userpool_exist else None + pool_id = response["UserPools"][user_pool_index]["Id"] + return is_userpool_exist, pool_id + +def get_users(pool_id, cognito_client): + try: + response = cognito_client.list_users(UserPoolId=pool_id) + return response["Users"] + except ClientError as err: + logger.error( + "Couldn't list users for %s. Here's why: %s: %s", + pool_id, + err.response["Error"]["Code"], + err.response["Error"]["Message"], + ) + raise + +def get_verified_arn(sts_client): + if args.local: + account_num = sts_client.get_caller_identity()["Account"] + identity_arn = "arn:aws:ses:" + AWS_REGION + ":" + account_num + ":identity/openpath@nrel.gov" + if args.github: + AWS_ACCT_ID = os.environ.get("AWS_ACCT_ID") + identity_arn = "arn:aws:ses:" + AWS_REGION + ":" + AWS_ACCT_ID + ":identity/openpath@nrel.gov" + return identity_arn + +def email_extract(): + with open (config_path) as config_file: + data = json.load(config_file) + admindash_prefs = data['admin_dashboard'] + emails = [i.strip().lstrip() for i in admindash_prefs['admin_access']] + columns_exclude = admindash_prefs['data_trips_columns_exclude'] + map_trip_lines_enabled = admindash_prefs['map_trip_lines'] + return emails, map_trip_lines_enabled, columns_exclude + +def create_account(pool_id, email, cognito_client): + response = cognito_client.admin_create_user( + UserPoolId = pool_id, + Username=email, + UserAttributes=[ + { + 'Name': 'email', + 'Value': email, + }, + ], + ForceAliasCreation=True, + DesiredDeliveryMediums=[ + 'EMAIL', + ], + ) + return response + +def format_email(filename, map_trip_lines_enabled, columns_exclude): + with open(maindir + '/email_automation/welcome-template.txt', 'r') as f: + html = f.read() + html = html.replace('', filename) + if map_trip_lines_enabled: + html = html.replace ('', 'Additionally, you can view individual user-origin destination points using the "Map Lines" option from the map page.') + else: + html = html.replace ('', '') + if 'data.start_loc.coordinates' in columns_exclude or 'data.end_loc.coordinates' in columns_exclude: + html = html.replace ('', 'Per your requested configuration, your trip table excludes trip start/end coordinates for greater anonymity. Let us know if you need them to be enabled for improved analysis.') + elif columns_exclude == '': + html = html.replace ('', 'Since you indicated that you want to map the data to infrastructure updates, your configuration includes trip start/end in the trip table. Let us know if you would like to exclude those for greater anonymity.') + return html + + +def update_user_pool(pool_id, pool_name, html, identity_arn, cognito_client): + response = cognito_client.update_user_pool( + UserPoolId= pool_id, + AutoVerifiedAttributes=['email'], + EmailConfiguration={ + 'SourceArn': identity_arn, + 'EmailSendingAccount': 'DEVELOPER', + 'From': 'openpath@nrel.gov' + }, + AdminCreateUserConfig={ + 'AllowAdminCreateUserOnly': True, + 'InviteMessageTemplate': { + 'EmailMessage': str(html), + 'EmailSubject': f'Welcome to {pool_name} user pool!' + } + }, +) + +def remove_user(pool_id, user): + response = cognito_client.admin_delete_user( + UserPoolId= pool_id, + Username= str(user) +) +###################################################################### +is_userpool_exist, pool_id = get_userpool_name(pool_name, cognito_client) + + # Start by checking for the User Pool. If the User Pool does not yet exist, wait until it is set up to add users. +if is_userpool_exist: + #extract email addresses from config file + emails, map_trip_lines_enabled, columns_exclude = email_extract() + users = get_users(pool_id, cognito_client) + for user in users: + for attr_dict in user["Attributes"]: + if attr_dict["Name"] == "email": + user_email = attr_dict["Value"] + if user_email not in emails: + remove_user(pool_id, user_email) + print(f"{user_email} removed from pool.") + + #Loop over each email address. Check if they're in the user pool. + for email in emails: + if not str(users).find(email) > 1: + #If user not in pool, format the email template for their welcome email, update the user pool, and create an account for them. + print(email + " not in user pool! Creating account...") + html = format_email(filename, map_trip_lines_enabled, columns_exclude) + identity_arn = get_verified_arn(sts_client) + update_user_pool(pool_id, pool_name, html, identity_arn, cognito_client) + response = create_account(pool_id, email, cognito_client) + if response['ResponseMetadata']['HTTPStatusCode'] == 200: + print("Account created! Sending welcome email.") + else: + print("Account creation unsuccessful.") + print(response['ResponseMetadata']['HTTPStatusCode']) + else: + print(email + " already in user pool!") +else: + print(pool_name + " does not exist! Try again later.") + \ No newline at end of file diff --git a/email_automation/welcome-template.txt b/email_automation/welcome-template.txt new file mode 100644 index 00000000..e863c5e8 --- /dev/null +++ b/email_automation/welcome-template.txt @@ -0,0 +1,32 @@ + + + +

Welcome to OpenPATH!

+

Thank you for joining the OpenPATH project.
+
+ Your admin dashboard can be found at:
+
+ + https://-openpath.nrel.gov/admin/.
+
+ An account has been created for you with AWS Cognito. Please log in and change your + temporary password:
+
+ Username: {username} + Temporary Password: {####} +
+
+ The login to the admin dashboard uses 2-factor authentication. You will have to install an authenticator app (e.g. Microsoft Authenticator, Google Authenticator) to receive One Time Passcodes (OTP) every time you want to log in. This is a requirement from NREL cyber to ensure that the data access to individual user information is secure.
+
+ For the specified date range, you can download trip, user and trajectory tables as csv and view aggregate origin-destination points in the maps.
+
+ + + Please let us know if you have any problems with signing in.
+
+ Thank you,
+
+ NREL's OpenPATH Team +

+ + \ No newline at end of file diff --git a/survey_resources/dcebike/dcebike-onboarding-v2.xlsx b/survey_resources/dcebike/dcebike-onboarding-v2.xlsx new file mode 100644 index 00000000..0793bade Binary files /dev/null and b/survey_resources/dcebike/dcebike-onboarding-v2.xlsx differ diff --git a/survey_resources/dcebike/dcebike-onboarding-v2.xml b/survey_resources/dcebike/dcebike-onboarding-v2.xml new file mode 100644 index 00000000..7d4b1ae7 --- /dev/null +++ b/survey_resources/dcebike/dcebike-onboarding-v2.xml @@ -0,0 +1 @@ +OpenPATH Demographics Survey<16 years old16 ~ 20 years old21 ~ 25 years old26 ~ 30 years old31 ~ 35 years old36 ~ 40 years old41 ~ 45 years old46 ~ 50 years old51 ~ 55 years old56 ~ 60 years old61 ~ 65 years old> 65 years oldPrefer not to sayManWomanNon-binary/genderqueer/gender non-conformingOtherPrefer not to sayBlack or African AmericanWhite or CaucasianHispanic, Latino/a/x, or SpanishEast AsianSouth AsianAmerican Indian or Alaska NativeNative Hawaiian or Other Pacific IslanderMultiracial/MultiethnicOtherPrefer not to sayYesNoPrefer not to sayLess than a high school graduateHigh school graduate or GEDSome college or associates degreeBachelor's degreeGraduate degree or professional degreePrefer not to sayYesNoPrefer not to sayLess than $24,999$25,000 to $49,999$50,000 to $99,999$100,000 to $149,999$150,000 to $199,999$200,000 or morePrefer not to say1234567More than 7Prefer not to say01234More than 4Prefer not to say0123More than 3Prefer not to sayPublic transportation (bus, subway, light rail, etc.)Get a ride from a friend or family memberRental car (including Zipcar/ Car2Go)BicycleWalkTaxi (regular taxi, Uber, Lyft, etc)NonePrefer not to sayYesNoPrefer not to say6 months or lessMore than 6 monthsAll lifePrefer not to sayPersonal Level InformationHow old are you?What is your gender?What is your race/ethnicity?Please select all that apply.Do you have a valid drivers license?What is the highest level of education you have completed?Are you a paid worker?Household Level InformationPlease identify which category represents your total household income, before taxes, for last year.We are asking this because income is related to how, when and why people go from place to place. This information will be used for statistical purposes only.Including yourself, how many people live in your home?How many children under age 18 live in your home?How many motor vehicles are owned, leased, or available for regular use by the people who currently live in your household?Include motorcycles, mopeds and RVs.If you were unable to use your household motor vehicle(s) (or if none are available to you), which of the following options would be available to you to get from place to place?Do you have a physical or medical condition that makes it difficult to travel outside of the home?How long have you had this condition(s)?--ອາຍຸຕໍ່າກ່ວາ 16 ປີ16 ປີ ຫາ 20 ປີ21 ປີ ຫາ 25 ປີ26 ປີ ຫາ 30 ປີ31 ປີ ຫາ 35 ປີ36 ປີ ຫາ 40 ປີ41 ປີ ຫາ 45 ປີ46 ປີ ຫາ 50 ປີ51 ປີ ຫາ 55 ປີ56 ປີ ຫາ 60 ປີ61 ປີ ຫາ 65 ປີອາຍຸຫລາຍກວ່າ 65 ປີບໍ່ສະດວກໃຫ້ຂໍ້ມູນເພດຊາຍເພດຍິງບໍ່ສະດວກໃຫ້ຂໍ້ມູນອຶ່ນໆບໍ່ສະດວກໃຫ້ຂໍ້ມູນຄົນອາເມລິກາ ຜີວດໍາຄົນອາເມລິກາ ຜີວຂາວພາສາສະເປນ ຫລື ລາຕິນອາຊີຕາເວັນອອກອາຊີໄຕ້ອິນເດຍ ອາເມລິກາອາເມລິກາ ໃນໝູ່ເກາະຮາວາຍຫລາຍເຊື້ອຊາດອຶ່ນໆບໍ່ສະດວກໃຫ້ຂໍ້ມູນແມ່ນບໍ່ແມ່ນບໍ່ສະດວກໃຫ້ຂໍ້ມູນຈົບການສຶກສາບໍ່ຮອດຂັ້ນມັດທະຍົມຕອນປາຍຈົບການສຶກສາຂັ້ນມັດທະຍົມຕອນປາຍຈົບການສຶກສາຊັ້ນສູງຈົບການສຶກສາຂັ້ນ ປະລິນຍາຕີຈົບການສຶກສາ ຂັ້ນປະລິນຍາໂທ ຫລື ສູງກ່ວາບໍ່ສະດວກໃຫ້ຂໍ້ມູນແມ່ນບໍ່ແມ່ນບໍ່ສະດວກໃຫ້ຂໍ້ມູນບໍ່ສະດວກໃຫ້ຂໍ້ມູນ1234567ຫລາຍກ່ວາ 7ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ01234ຫລາຍກ່ວາ 4ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ0123ຫລາຍກ່ວາ 3ບໍ່ສະດວກໃຫ້ຂໍ້ມູນການຂົນສົ່ງສາທາລະນະ (ລົດເມ, ລົດໄຟ)ຂີ່ລົດໄປກັບໝູ່ ຫລື ຄົນໃນຄອບຄົວ ຫລື ໃນບ້ານດຽວກັນເຊົ່າລົດລົດຖີບຍ່າງແທັກຊີບໍ່ມີບໍ່ສະດວກໃຫ້ຂໍ້ມູນແມ່ນບໍ່ແມ່ນບໍ່ສະດວກໃຫ້ຂໍ້ມູນ6 ເດືອນ ຫລື ໜ້ອຍກ່ວາຫລາຍກ່ວາ 6 ເດືອນຕະຫລອດຊີວິດບໍ່ສະດວກໃຫ້ຂໍ້ມູນເລີ້ມອອກເດີນທາງສິ້ນສຸດການເດີນທາງຂໍ້ມູນຂອງທ່ານທ່ານ​ອາ​ຍຸ​ຈັກ​ປີ?ເພດຂອງທ່ານ?ທ່ານເປັນຄົນເຊື້ອຊາດ/ຊົນເຜົ່າໃດ?ກະລຸນາເລືອກທັງໝົດທ່ານມີໃບຂັບຂີ່ທີ່ບໍ?ລະດັບການສຶກສາຂອງທ່ານ?ທ່ານເປັນພະນັກງານບໍ?ຂໍ້ມູນລະດັບຄົວເຮືອນກະລຸນາລະບຸອັນໃດ ທີ່ເປັນລາຍຮັບຫຼັກໃນຄອບຂອງທ່ານ ສໍາລັບປີທີ່ຜ່ານມາ.ເຫດຜົນທີ່ພວກເຮົາຖາມກ່ຽວກັບລາຍຮັບ ເນື່ອງຈາກເປັນພຽງການເກັບກໍາດ້ານສະຖິຕິ ໃນເວລາ ແລະ ວິທີການເດີນທາງລວມທັງຕົວທ່ານເອງ, ມີຈັກຄົນອາໄສຢູ່ໃນເຮືອນຂອງທ່ານ?ມີເດັກນ້ອຍອາຍຸຕ່ຳກວ່າ 18 ປີອາໄສຢູ່ໃນເຮືອນຂອງທ່ານຈັກຄົນ?ທ່ານເປັນເຈົ້າຂອງລົດຈັກຄັນ ຫລື ເຊົ່າລົດຈັກຄັນ, ຄົນໃນເຮືອນຂອງທ່ານນໍາໃຊ້ລົດເປັນປົກກະຕິ?ລວມທັງລົດຈັກ, ລົດຖີບທີ່ໃຊ້ມໍເຕີໄຟຟ້າ ແລະ ລົດບ້ານຖ້າທ່ານບໍ່ສາມາດນໍາໃຊ້ພາຫະນະໃນເຮືອນຂອງທ່ານ (ຫຼືຖ້າບໍ່ມີທ່ານ), ທ່ານຈະເລືອກອັນໃດດັ່ງຕໍ່ໄປນີ້?ທ່ານມີສະພາບທາງດ້ານຮ່າງກາຍ ທີ່ເຮັດໃຫ້ມັນມີຄວາມຫຍຸ້ງຍາກໃນການເດີນບໍ?ທ່ານມີບັນຫາດ້ານຮ່າງກາຍດົນປານໃດ?------<16 años16 ~ 20 años21 ~ 25 años26 ~ 30 años31 ~ 35 años36 ~ 40 años41 ~ 45 años46 ~ 50 años51 ~ 55 años56 ~ 60 años61 ~ 65 años> 65 añosPrefiero no decirloHombreMujerNo binaria / genderqueer / género no conformeOtroPrefiero no decirloNegrx o AfroamericanxBlancx o CaucásicxHispanx, Latinx, o EspañolxAsiáticx OrientalSudasiáticxIndia Americanx o Nativx de AlaskaNativx Hawaianx u otra isleñx del PacíficoMultirracial / MultiétnicxOtroPrefiero no decirloNoPrefiero no decirloMenos que un graduado de secundariaGraduado de secundaria o GEDAlgún título universitario o asociadoLicenciaturaTítulo de posgrado o título profesionalPrefiero no decirloNoPrefiero no decirloMenos de $24,999$ 25,000 a $ 49,999$50,000 a $99,999$100,000 a $149,999$150,000 a $199,999$200,000 o másPrefiero no decirlo1234567Más de 7Prefiero no decirlo01234Más de 4Prefiero no decirlo0123Más de 3Prefiero no decirloTransporte público (autobús/tren, metro, tren ligero, etc.)Obtener un viaje de un amigo o miembro de la familiaCoche de alquiler (incluido Zipcar/ Car2Go)BicicletaCaminarTaxi (Uber, Lyft, etc.)NingunoPrefiero no decirloNoPrefiero no decirlo6 meses o menosMás de 6 mesesToda mi vidaPrefiero no decirInformación de nivel personal¿Cuántos años tienes?¿Cuál es su género?¿Cuál es su raza/etnicidad?Por favor seleccione todas las respuestas válidas.¿Tiene una licencia de conducir válida?¿Cuál es el grado más alto o el título que ha obtenido?¿Eres un trabajador asalariado?Información a nivel del hogarPor favor, identifique qué categoría representa el ingreso total de su hogar, antes de impuestos, en el último año.Preguntamos esto porque el ingreso está relacionado con cómo, cuándo y por qué la gente va de un lugar a otro. Esta información se utilizará únicamente con fines estadísticos.Incluyéndose usted, ¿cuántas personas viven en su casa?¿Cuántos niños menores de 18 años viven en su hogar?¿Cuántos vehículos de motor son propiedad, están alquilados o están disponibles para uso regular por las personas que vive actualmente en su hogar?Incluya motocicletas, ciclomotores y vehículos recreativos.Si no pudiera usar los vehículos de su hogar, ¿cuál de las siguientes opciones consideraríapara que lo lleve de un lugar a otro?¿Tiene alguna condición médica que le dificulte viajar fuera de casa?¿Cuánto tiempo ha tenido esta condición?--<__version__/>zp4by70-0_16_years_oldzp4by70-116___20_years_oldzp4by70-221___25_years_oldzp4by70-326___30_years_oldzp4by70-431___35_years_oldzp4by70-536___40_years_oldzp4by70-641___45_years_oldzp4by70-746___50_years_oldzp4by70-851___55_years_oldzp4by70-956___60_years_oldzp4by70-1061___65_years_oldzp4by70-11__65_years_oldzp4by70-12prefer_not_to_saysj0gn93-0mansj0gn93-1womansj0gn93-2non_binary_genderqueer_gender_non_conforsj0gn93-3othersj0gn93-4prefer_not_to_sayhw6ou02-0black_or_african_americanhw6ou02-1white_or_caucasianhw6ou02-2hispanic_latino_a_x_or_spanishhw6ou02-3east_asianhw6ou02-4south_asianhw6ou02-5american_indian_or_alaska_nativehw6ou02-6native_hawaiian_or_other_pacific_islandehw6ou02-7multiracial_multiethnichw6ou02-8otherhw6ou02-9prefer_not_to_saymw0ph17-0yesmw0ph17-1nomw0ph17-2prefer_not_to_sayis7jb99-0less_than_a_high_school_graduateis7jb99-1high_school_graduate_or_gedis7jb99-2some_college_or_associates_degreeis7jb99-3bachelor_s_degreeis7jb99-4graduate_degree_or_professional_degreeis7jb99-5prefer_not_to_saybl0bx01-0yesbl0bx01-1nobl0bx01-2prefer_not_to_saywc3ba24-0less_than__24_999wc3ba24-1_25_000_to__49_999wc3ba24-2_50_000_to__99_999wc3ba24-3_100_000_to__149_999wc3ba24-4_150_000_to__199_999wc3ba24-5_200_000_or_morewc3ba24-6prefer_not_to_saysk0vf59-01sk0vf59-12sk0vf59-23sk0vf59-34sk0vf59-45sk0vf59-56sk0vf59-67sk0vf59-7more_than_7sk0vf59-8prefer_not_to_saymb1ko67-00mb1ko67-111mb1ko67-222mb1ko67-333mb1ko67-444mb1ko67-5more_than_45mb1ko67-6prefer_not_to_say6uf9mf06-00uf9mf06-11uf9mf06-22uf9mf06-33uf9mf06-4more_than_3uf9mf06-5prefer_not_to_sayti1cl39-0public_transportation__bus__subway__lighti1cl39-1get_a_ride_from_a_friend_or_family_membeti1cl39-2rental_car__including_zipcar__car2goti1cl39-3bicycleti1cl39-4walkti1cl39-5taxi__regular_taxi__uber__lyft__etcti1cl39-6noneti1cl39-7prefer_not_to_sayzd44g49-0yeszd44g49-1nozd44g49-2prefer_not_to_saygx7yn58-06_months_or_lessgx7yn58-1more_than_6_monthsgx7yn58-2all_lifegx7yn58-3prefer_not_to_say \ No newline at end of file diff --git a/survey_resources/dfc-fermata/dfc-ev-return-trip-v0.xlsx b/survey_resources/dfc-fermata/dfc-ev-return-trip-v0.xlsx new file mode 100644 index 00000000..563a2532 Binary files /dev/null and b/survey_resources/dfc-fermata/dfc-ev-return-trip-v0.xlsx differ diff --git a/survey_resources/dfc-fermata/dfc-ev-return-trip-v0.xml b/survey_resources/dfc-fermata/dfc-ev-return-trip-v0.xml new file mode 100644 index 00000000..c93f379c --- /dev/null +++ b/survey_resources/dfc-fermata/dfc-ev-return-trip-v0.xml @@ -0,0 +1,264 @@ + + + + DFC Fleet EV Return Trip Survey + + + + + + + + + + + + + + + + + + <_Other_please_specify/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + + no + + + + + Please indicate the extent to which you agree or disagree. + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + Please indicate the extent to which you agree or disagree. + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + + + yes + + + + no + + + + + + + yes + + + + no + + + + unsure + + + + + + + yes + + + + no + + + + + Please indicate the extent to which you agree or disagree. + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + Please indicate the extent to which you agree or disagree. + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + Please indicate the extent to which you agree or disagree. + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + + + + + + + + diff --git a/survey_resources/dfc-fermata/dfc-ev-roaming-trip-v0.xlsx b/survey_resources/dfc-fermata/dfc-ev-roaming-trip-v0.xlsx new file mode 100644 index 00000000..19c2126c Binary files /dev/null and b/survey_resources/dfc-fermata/dfc-ev-roaming-trip-v0.xlsx differ diff --git a/survey_resources/dfc-fermata/dfc-ev-roaming-trip-v0.xml b/survey_resources/dfc-fermata/dfc-ev-roaming-trip-v0.xml new file mode 100644 index 00000000..c92e83f6 --- /dev/null +++ b/survey_resources/dfc-fermata/dfc-ev-roaming-trip-v0.xml @@ -0,0 +1,142 @@ + + + + DFC Fleet EV Roaming Trip Survey + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + + no + + + + + Please indicate the extent to which you agree or disagree. + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + Please indicate the extent to which you agree or disagree. + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + + + yes + + + + no + + + + + + + + diff --git a/survey_resources/dfc-fermata/dfc-gas-trip-v0.xlsx b/survey_resources/dfc-fermata/dfc-gas-trip-v0.xlsx new file mode 100644 index 00000000..318c71c4 Binary files /dev/null and b/survey_resources/dfc-fermata/dfc-gas-trip-v0.xlsx differ diff --git a/survey_resources/dfc-fermata/dfc-gas-trip-v0.xml b/survey_resources/dfc-fermata/dfc-gas-trip-v0.xml new file mode 100644 index 00000000..a814d87d --- /dev/null +++ b/survey_resources/dfc-fermata/dfc-gas-trip-v0.xml @@ -0,0 +1,104 @@ + + + + DFC Fleet Gas Vehicle Trip Survey + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + + no + + + + i_don_t_know + + + + + + + + + Please indicate the extent to which you agree or disagree. + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + diff --git a/survey_resources/dfc-fermata/dfc-onboarding-v0.xlsx b/survey_resources/dfc-fermata/dfc-onboarding-v0.xlsx new file mode 100644 index 00000000..b713a3c0 Binary files /dev/null and b/survey_resources/dfc-fermata/dfc-onboarding-v0.xlsx differ diff --git a/survey_resources/dfc-fermata/dfc-onboarding-v0.xml b/survey_resources/dfc-fermata/dfc-onboarding-v0.xml new file mode 100644 index 00000000..ec78f28b --- /dev/null +++ b/survey_resources/dfc-fermata/dfc-onboarding-v0.xml @@ -0,0 +1,817 @@ + + + + DFC Fleet Onboarding Survey + + + + + Employment Information + + + How many years have you worked for GSA? + + + In what region of GSA do you work? (1-11, or Central Office) + + + What regional team are you a part of? + + + ... + + + ... + + + What is your job title? (If part of FAS or GSA Fleet please include) + + + Demographic Information + + + In what year were you born? + + + What best describes your gender? + + + Woman + + + Man + + + Transgender Woman + + + Transgender Man + + + Non-binary + + + Other... + + + Prefer not to say + + + Other – Please specify: + + + What best describes your race/ethnicity? + + + Please select all that apply. + + + Black or African American + + + White or Caucasian + + + Hispanic, Latino/a/x, or Spanish + + + East Asian + + + South Asian + + + American Indian or Alaska Native + + + Native Hawaiian or Other Pacific Islander + + + Multiracial/Multiethnic + + + Other... + + + Prefer not to say + + + Other – Please specify: + + + Perceptions of EVs and EVSE + + + Have you ever driven an electric vehicle (EV)? + + + Yes + + + No + + + Have you ever used an EV charging station? + + + Yes + + + No + + + Do you know how far you travel in fleet vehicles on a typical work day? + + + Yes + + + No + + + Please estimate the distance traveled in miles. + + + Please indicate the extent to which you agree or disagree with each of the following statements. + + + You have enough information about EVs and EV charging infrastructure to operate an EV. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + You are concerned that an EV could run out of charge before the next charging opportunity. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + Concern of running out of charge, or range anxiety, prevents you from choosing an EV. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + There are not enough EV charging stations within your area of operation for you to feel comfortable choosing an EV. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + The use of public rapid charging infrastructure as a back-up option would minimize range anxiety. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + You prefer to start every EV trip with 100% SoC (State of Charge). + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + EV charging time unknowns prevent you from using EVs. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + You plug the EV at the end of every trip expecting the EV to charge. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + You take additional planning considerations if taking an EV trip. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + EVs are necessary and useful. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + Having access to EVs in the fleet shows that GSA is committed to sustainability. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/survey_resources/dfc-fermata/fermata-ev-return-trip-v0.xlsx b/survey_resources/dfc-fermata/fermata-ev-return-trip-v0.xlsx new file mode 100644 index 00000000..563a2532 Binary files /dev/null and b/survey_resources/dfc-fermata/fermata-ev-return-trip-v0.xlsx differ diff --git a/survey_resources/dfc-fermata/fermata-ev-return-trip-v0.xml b/survey_resources/dfc-fermata/fermata-ev-return-trip-v0.xml new file mode 100644 index 00000000..c93f379c --- /dev/null +++ b/survey_resources/dfc-fermata/fermata-ev-return-trip-v0.xml @@ -0,0 +1,264 @@ + + + + DFC Fleet EV Return Trip Survey + + + + + + + + + + + + + + + + + + <_Other_please_specify/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + + no + + + + + Please indicate the extent to which you agree or disagree. + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + Please indicate the extent to which you agree or disagree. + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + + + yes + + + + no + + + + + + + yes + + + + no + + + + unsure + + + + + + + yes + + + + no + + + + + Please indicate the extent to which you agree or disagree. + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + Please indicate the extent to which you agree or disagree. + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + Please indicate the extent to which you agree or disagree. + + + 1 + + + + 2 + + + + 3 + + + + 4 + + + + 5 + + + + + + + + + + + + diff --git a/survey_resources/dfc-fermata/fermata-onboarding-v0.xlsx b/survey_resources/dfc-fermata/fermata-onboarding-v0.xlsx new file mode 100644 index 00000000..b713a3c0 Binary files /dev/null and b/survey_resources/dfc-fermata/fermata-onboarding-v0.xlsx differ diff --git a/survey_resources/dfc-fermata/fermata-onboarding-v0.xml b/survey_resources/dfc-fermata/fermata-onboarding-v0.xml new file mode 100644 index 00000000..ec78f28b --- /dev/null +++ b/survey_resources/dfc-fermata/fermata-onboarding-v0.xml @@ -0,0 +1,817 @@ + + + + DFC Fleet Onboarding Survey + + + + + Employment Information + + + How many years have you worked for GSA? + + + In what region of GSA do you work? (1-11, or Central Office) + + + What regional team are you a part of? + + + ... + + + ... + + + What is your job title? (If part of FAS or GSA Fleet please include) + + + Demographic Information + + + In what year were you born? + + + What best describes your gender? + + + Woman + + + Man + + + Transgender Woman + + + Transgender Man + + + Non-binary + + + Other... + + + Prefer not to say + + + Other – Please specify: + + + What best describes your race/ethnicity? + + + Please select all that apply. + + + Black or African American + + + White or Caucasian + + + Hispanic, Latino/a/x, or Spanish + + + East Asian + + + South Asian + + + American Indian or Alaska Native + + + Native Hawaiian or Other Pacific Islander + + + Multiracial/Multiethnic + + + Other... + + + Prefer not to say + + + Other – Please specify: + + + Perceptions of EVs and EVSE + + + Have you ever driven an electric vehicle (EV)? + + + Yes + + + No + + + Have you ever used an EV charging station? + + + Yes + + + No + + + Do you know how far you travel in fleet vehicles on a typical work day? + + + Yes + + + No + + + Please estimate the distance traveled in miles. + + + Please indicate the extent to which you agree or disagree with each of the following statements. + + + You have enough information about EVs and EV charging infrastructure to operate an EV. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + You are concerned that an EV could run out of charge before the next charging opportunity. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + Concern of running out of charge, or range anxiety, prevents you from choosing an EV. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + There are not enough EV charging stations within your area of operation for you to feel comfortable choosing an EV. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + The use of public rapid charging infrastructure as a back-up option would minimize range anxiety. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + You prefer to start every EV trip with 100% SoC (State of Charge). + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + EV charging time unknowns prevent you from using EVs. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + You plug the EV at the end of every trip expecting the EV to charge. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + You take additional planning considerations if taking an EV trip. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + EVs are necessary and useful. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + Having access to EVs in the fleet shows that GSA is committed to sustainability. + + + Disagree + + + - + + + Neutral + + + - + + + Agree + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v1.json b/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v1.json deleted file mode 100644 index cb4a7d7c..00000000 --- a/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v1.json +++ /dev/null @@ -1 +0,0 @@ -{"form":"
\n

OpenPATH Demographics Survey

\n \n \n

Personal Level Informationຂໍ້ມູນຂອງທ່ານ

How old are you?ທ່ານ​ອາ​ຍຸ​ຈັກ​ປີ?*\n
This field is required
What is your gender?ເພດ?\n
Do you consider yourself to be Transgender?ທ່ານຄິດວ່າທ່ານເອງເປັນ ຄົນຂ້າມເພດບໍ?*\n
This field is required
What is your race/ethnicity?ທ່ານເປັນຄົນເຊື້ອຊາດ/ຊົນເຜົ່າໃດ?Please select all that apply.ກະລຸນາເລືອກທັງໝົດ\n
Do you have a valid drivers license?ທ່ານມີໃບຂັບຂີ່ທີ່ບໍ?*\n
This field is required
Are you a student?ທ່ານ​ເປັນ​ນັກ​ສຶກສາ​ບໍ?*Including public/private school and home schoolລວມທັງໂຮງຮຽນລັດ ແລະ ໂຮງຮຽນເອກະຊົນ ຫລື ຮຽນຢູ່ບ້ານ\n
This field is required
What is the highest level of education you have completed?ລະດັບການສຶກສາຂອງທ່ານ?*\n
This field is required
Are you a paid worker?ທ່ານເປັນພະນັກງານບໍ?*\n
This field is required
Which one below describe you best?ຂໍ້ມູນໃດລຸ່ມນີ້ທີ່ກ່ຽວຂ້ອງກັບທ່ານ?*\n
This field is required
\n
\n

Household Level Informationຂໍ້ມູນລະດັບຄົວເຮືອນ

Do you own or rent your home?ທ່ານມີເຮືອນເປັນຂອງຕົນເອງບໍ ຫຼື ເຊົ່າເຮືອນເພີ່ນຢູ່?*\n
This field is required
What is your home type?ປະເພດເຮືອນຂອງທ່ານເປັນລັກສະນະແນວໃດ?*\n
This field is required
Please identify which category represents your total household income, before taxes, for last year.ກະລຸນາລະບຸອັນໃດ ທີ່ເປັນລາຍຮັບຫຼັກໃນຄອບຂອງທ່ານ ສໍາລັບປີທີ່ຜ່ານມາ.*We are asking this because income is related to how, when and why people go from place to place. This information will be used for statistical purposes only.ເຫດຜົນທີ່ພວກເຮົາຖາມກ່ຽວກັບລາຍຮັບ ເນື່ອງຈາກເປັນພຽງການເກັບກໍາດ້ານສະຖິຕິ ໃນເວລາ ແລະ ວິທີການເດີນທາງ\n
This field is required
Including yourself, how many people live in your home?ລວມທັງຕົວທ່ານເອງ, ມີຈັກຄົນອາໄສຢູ່ໃນເຮືອນຂອງທ່ານ?*\n
This field is required
Including yourself, how many workers are there in your household?ລວມທັງຕົວທ່ານເອງ, ຄົນໃນເຮືອນຂອງທ່ານມີຈັກຄົນທີ່ເຮັດວຽກ?*\n
This field is required
How many children under age 18 live in your home?ມີເດັກນ້ອຍອາຍຸຕ່ຳກວ່າ 18 ປີອາໄສຢູ່ໃນເຮືອນຂອງທ່ານຈັກຄົນ?*\n
This field is required
Including yourself, how many people have valid drivers licenses in your household?ລວມທັງຕົວທ່ານເອງ, ຄົນໃນເຮືອນຂອງທ່ານມີຈັກຄົນທີ່ມີໃບຂັບຂີ່?*\n
This field is required
How many motor vehicles with 3-4 wheels are owned, leased, or available for regular use by the people who currently live in your household?ທ່ານເປັນເຈົ້າຂອງລົດຈັກຄັນ ຫລື ເຊົ່າລົດຈັກຄັນ, ຄົນໃນເຮືອນຂອງທ່ານນໍາໃຊ້ລົດເປັນປົກກະຕິ?*Include RVs.ລວມທັງລົດຈັກ, ລົດຖີບທີ່ໃຊ້ມໍເຕີໄຟຟ້າ ແລະ ລົດບ້ານ\n
This field is required
How many motor vehicles with 2 wheels are owned, leased, or available for regular use by the people who currently live in your household?ທ່ານເປັນເຈົ້າຂອງລົດຈັກຄັນ ຫລື ເຊົ່າລົດຈັກຄັນ, ຄົນໃນເຮືອນຂອງທ່ານນໍາໃຊ້ລົດເປັນປົກກະຕິ?*Include motorcycles and mopeds.ລວມທັງລົດຈັກ, ລົດຖີບທີ່ໃຊ້ມໍເຕີໄຟຟ້າ ແລະ ລົດບ້ານ\n
This field is required
If you were unable to use your household motor vehicle(s) (or if none are available to you), which of the following options would be available to you to get from place to place?ຖ້າທ່ານບໍ່ສາມາດນໍາໃຊ້ພາຫະນະໃນເຮືອນຂອງທ່ານ (ຫຼືຖ້າບໍ່ມີທ່ານ), ທ່ານຈະເລືອກອັນໃດດັ່ງຕໍ່ໄປນີ້?*\n
This field is required
Do you have a physical or medical condition that makes it difficult to travel outside of the home?ທ່ານມີສະພາບທາງດ້ານຮ່າງກາຍ ທີ່ເຮັດໃຫ້ມັນມີຄວາມຫຍຸ້ງຍາກໃນການເດີນບໍ?*\n
This field is required
How long you had this conditions?ທ່ານມີບັນຫາດ້ານຮ່າງກາຍດົນປານໃດ?*\n
This field is required
\n
\n

Job Related Informationຂໍ້ມູນທີ່ກ່ຽວຂ້ອງກັບວຽກຂອງທ່ານ

Do you have more than one job?ທ່ານມີຫຼາຍກວ່າໜຶ່ງວຽກບໍ?*We mean more than one employer, not just multiple job sites.ພວກເຮົາໝາຍເຖີງ ເຮັດວຽກອຶ່ນນໍາ ເຊີ່ງີ່ມີຜູ້ທີ່ມາຈາ້ງທ່ານໃຫ້ເຮັດວຽກ (ທ່ານມີນາຍຈ້າງຫລາຍກ່ວາ 1)\n
This field is required
Do you work full-time or part-time at the primary job?ທ່ານເຮັດວຽກເຕັມເວລາ ຫຼື ເຮັດວຽກລ່ວງເວລາ ບໍ?*A full time job is at least 35 hours per week.ເຮັດວຽກເຕັມເວລາ ຢ່າງໜ້ອຍ 35 ຊມ ຕໍ່ອາທິດ\n
This field is required
Which best describes your primary job?ອັນໃດທີ່ບົ່ງບອກວ່າເປັນວຽກຫຼັກຂອງທ່ານ?*\n
This field is required
At your primary job, do you have the ability to set or change your own start time?ທ່ານມີຄວາມສາມາດໃນການກໍານົດຫຼືປ່ຽນເວລາເຂົ້າການດ້ວຍຕົວທ່ານເອງບໍ?*\n
This field is required
Do you have the option of working from home or an alternate location instead of going into your primary work place?ທ່ານມີທາງເລືອກທີ່ຈະເຮັດວຽກຢູ່ບ້ານ ຫລື ສະຖານທີ່ໃດໜຶ່ງ ແທນທີ່ຈະເຂົ້າໄປເຮັດວຽກຢູ່ຫ້ອງການຂອງທ່ານ?*\n
This field is required
How many days do you usually work from home or an alternate location per week?ປົກກະຕິຈັກວັນທ່ານເຮັດວຽກຢູ່ບ້ານ ຫລື ສະຖານທີ່ອຶ່ນ ທີ່ບໍ່ແມ່ນຫ້ອງການຂອງທ່ານ ຕໍ່ອາທິດ*Please round up to the next integer (i.e., one day), if you only work from home or alternative locations half a day.ໃນເວລາທີ່ທ່ານເຮັດວຽກ ເຄີ່ງວັນ ຢູ່ເຮືອນ ຫລື ສະຖານທີ່ອຶ່ນ ແທນທີ່ບ່ອນເຮັດວຽກຂອງທ່ານ ແມ່ນຈະປັດໃຫ້ເປັນ 1 ວັນເລີຍ\n
This field is required
What days of the week do you typically work from home or an alternate location?ປົກກະຕິມື້ໃດ ທີ່ທ່ານເຮັດວຽກຢູ່ບ້ານ ຫລື ສະຖານທີ່ອຶ່ນ ທີ່ບໍ່ແມ່ນຫ້ອງການຂອງທ່ານ*Please select all that apply.ກະລຸນາເລືອກທັງໝົດ\n
This field is required
\n
\n \n
","model":"\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ","languageMap":{"English (en)":"en","ລາວ (lo)":"lo"},"transformerVersion":"2.3.0"} \ No newline at end of file diff --git a/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v1.xlsx b/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v1.xlsx deleted file mode 100644 index c02a5a85..00000000 Binary files a/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v1.xlsx and /dev/null differ diff --git a/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v2.xlsx b/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v2.xlsx new file mode 100644 index 00000000..e508c70d Binary files /dev/null and b/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v2.xlsx differ diff --git a/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v1.xml b/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v2.xml similarity index 60% rename from survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v1.xml rename to survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v2.xml index eae4424b..8ff41f95 100644 --- a/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v1.xml +++ b/survey_resources/usaid-laos-ev/usaid-laos-ev-demo-survey-v2.xml @@ -5,1218 +5,1272 @@ - + Personal Level Information - + How old are you? - + <16 years old - + 16 ~ 20 years old - + 21 ~ 25 years old - + 26 ~ 30 years old - + 31 ~ 35 years old - + 36 ~ 40 years old - + 41 ~ 45 years old - + 46 ~ 50 years old - + 51 ~ 55 years old - + 56 ~ 60 years old - + 61 ~ 65 years old - + > 65 years old - + Prefer not to say - + What is your gender? - + Man - + Woman - + Non-binary/genderqueer/gender non-conforming - + Other - + Prefer not to say - + Do you consider yourself to be Transgender? - + Yes - + No - + Prefer not to say - + What is your race/ethnicity? - + Please select all that apply. - + Lao - + Hmong - + Khmu - + Other - + Multiracial or Multiethnic - + Prefer not to say - + Do you have a valid drivers license? - + Yes - + No - + Prefer not to say - + Are you a student? - + Including public/private school and home school - + Not A Student - + Yes - K-12th Grade including GED - + Yes - Vocation/Technical/Trade School - + Yes - Part-Time college/University - + Yes - Full Time college/University - + Prefer not to say - + What is the highest level of education you have completed? - + Less than a high school graduate - + High school graduate or GED - + Some college or associates degree - + Bachelor's degree - + Graduate degree or professional degree - + Prefer not to say - + Are you a paid worker? - + Yes - + No - + Prefer not to say - + Which one below describe you best? - + I'm temporarily absent from a job now - + I'm not able to work (due to reasons like age, physical capability, etc.) - + None of the above - + Prefer not to say - + Household Level Information - + Do you own or rent your home? - + Own - + Rent - + Neither - + Prefer not to say - + What is your home type? - + Condominium/Apartment - + Single Family House - + Multi-Family House - + Shelter - + Prefer not to say - + Please identify which category represents your total household income, before taxes, for last year. - + We are asking this because income is related to how, when and why people go from place to place. This information will be used for statistical purposes only. - + less than 50 million LAK - + 51 million to 100 million LAK - + 101 million to 200 million LAK - + 201 million to 250 million LAK - + 260 million to 301 million LAK - + 302 million to 350 million LAK - + 351 million to 400 million LAK - + 401 million LAK or more - + Prefer not to say - + Including yourself, how many people live in your home? - + 1 - + 2 - + 3 - + 4 - + 5 - + 6 - + 7 - + More than 7 - + Prefer not to say - + Including yourself, how many workers are there in your household? - + 0 - + 1 - + 2 - + 3 - + 4 - + More than 4 - + Prefer not to say - + How many children under age 18 live in your home? - + 0 - + 1 - + 2 - + 3 - + 4 - + More than 4 - + Prefer not to say - + Including yourself, how many people have valid drivers licenses in your household? - + 0 - + 1 - + 2 - + 3 - + 4 - + More than 4 - + Prefer not to say - + How many motor vehicles with 3-4 wheels are owned, leased, or available for regular use by the people who currently live in your household? - + Include RVs. - + 0 - + 1 - + 2 - + 3 - + More than 3 - + Prefer not to say - + How many motor vehicles with 2 wheels are owned, leased, or available for regular use by the people who currently live in your household? - + Include motorcycles and mopeds. - + 0 - + 1 - + 2 - + 3 - + More than 3 - + Prefer not to say - + If you were unable to use your household motor vehicle(s) (or if none are available to you), which of the following options would be available to you to get from place to place? - + Public transportation (bus, subway, light rail, etc.) - + Get a ride from a friend or family member - + Rental car (including Zipcar/ Car2Go) - + Bicycle - + Walk - + Taxi (regular taxi, Uber, Lyft, etc) - + None - + Prefer not to say - + + What challenges do you face in your daily travels? + + + Select up to 3 + + + Access - difficulty connecting between travel modes + + + High Cost of tickets or fuel + + + Lack of reliability - timing or scheduling issues + + + Convenience - lack of connectivity across different locations + + + Personal safety – often feel unsafe while traveling + + + Risk of road accidents – the roads are dangerous + + + None of the above + + Do you have a physical or medical condition that makes it difficult to travel outside of the home? - + Yes - + No - + Prefer not to say - + How long you had this conditions? - + 6 months or less - + More than 6 months - + All life - + Prefer not to say - + Job Related Information - + Do you have more than one job? - + We mean more than one employer, not just multiple job sites. - + Yes - + No - + Prefer not to say - + Do you work full-time or part-time at the primary job? - + A full time job is at least 35 hours per week. - + Full-time - + Part-time - + Prefer not to say - + Which best describes your primary job? - + Sales or service - + Clerical or administrative support - + Manufacturing, construction, maintenance, or farming - + Professional, managerial, or technical - + Other - + Prefer not to say - + Please describe your primary job - + Because you selected "Other" - + At your primary job, do you have the ability to set or change your own start time? - + Yes - + No - + Prefer not to say - + Do you have the option of working from home or an alternate location instead of going into your primary work place? - + Yes - + No - + Prefer not to say - + How many days do you usually work from home or an alternate location per week? - + Please round up to the next integer (i.e., one day), if you only work from home or alternative locations half a day. - + 0 - + 1 - + 2 - + 3 - + 4 - + 5 - + 6 - + 7 - + Prefer not to say - + What days of the week do you typically work from home or an alternate location? - + Please select all that apply. - + Monday - + Tuesday - + Wednesday - + Thursday - + Friday - + Saturday - + Sunday - + Prefer not to say - + ຂໍ້ມູນຂອງທ່ານ - + ທ່ານ​ອາ​ຍຸ​ຈັກ​ປີ? - + ອາຍຸຕໍ່າກ່ວາ 16 ປີ - + 16 ປີ ຫາ 20 ປີ - + 21 ປີ ຫາ 25 ປີ - + 26 ປີ ຫາ 30 ປີ - + 31 ປີ ຫາ 35 ປີ - + 36 ປີ ຫາ 40 ປີ - + 41 ປີ ຫາ 45 ປີ - + 46 ປີ ຫາ 50 ປີ - + 51 ປີ ຫາ 55 ປີ - + 56 ປີ ຫາ 60 ປີ - + 61 ປີ ຫາ 65 ປີ - + ອາຍຸຫລາຍກວ່າ 65 ປີ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ເພດ? - + ເພດຊາຍ - + ເພດຍິງ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ອຶ່ນໆ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ທ່ານຄິດວ່າທ່ານເອງເປັນ ຄົນຂ້າມເພດບໍ? - + ແມ່ນ - + ບໍ່ແມ່ນ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ທ່ານເປັນຄົນເຊື້ອຊາດ/ຊົນເຜົ່າໃດ? - + ກະລຸນາເລືອກທັງໝົດ - + ລາວລຸ່ມ - + 2ມ້ົງ - + ຂະມຸ - + ອຶ່ນໆ - + ຫລາຍເຊື້ອຊາດ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ທ່ານມີໃບຂັບຂີ່ທີ່ບໍ? - + ແມ່ນ - + ບໍ່ແມ່ນ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ທ່ານ​ເປັນ​ນັກ​ສຶກສາ​ບໍ? - + ລວມທັງໂຮງຮຽນລັດ ແລະ ໂຮງຮຽນເອກະຊົນ ຫລື ຮຽນຢູ່ບ້ານ - + ບໍ່ແມ່ນ ນັກສຶກສາ - + ແມ່ນ, ມັດທະຍົມສຶກສາ (ຕອນຕົ້ນ ແລະ ຕອນປາຍ) - + ແມ່ນ, ການສຶກສາດ້ານວິຊາຊີບ - + ແມ່ນ, ຮຽນເພີ້ມ ທີ່ວິທະຍາໄລ ຫລື ມະຫາວິທະຍາໄລ - + ແມ່ນ, ຮຽນເຕັມເວລາ ທີ່ວິທະຍາໄລ ຫລື ມະຫາວິທະຍາໄລ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ລະດັບການສຶກສາຂອງທ່ານ? - + ຈົບການສຶກສາບໍ່ຮອດຂັ້ນມັດທະຍົມຕອນປາຍ - + ຈົບການສຶກສາຂັ້ນມັດທະຍົມຕອນປາຍ - + ຈົບການສຶກສາຊັ້ນສູງ - + ຈົບການສຶກສາຂັ້ນ ປະລິນຍາຕີ - + ຈົບການສຶກສາ ຂັ້ນປະລິນຍາໂທ ຫລື ສູງກ່ວາ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ທ່ານເປັນພະນັກງານບໍ? - + ແມ່ນ - + ບໍ່ແມ່ນ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ຂໍ້ມູນໃດລຸ່ມນີ້ທີ່ກ່ຽວຂ້ອງກັບທ່ານ? - + ຕອນນີ້ ຂ້ອຍຂາດວຽກຊົ່ວຄາວ - + ຂ້ອຍບໍ່ສາມາດເຮັດວຽກໄດ້ ເນື່ອງຈາກສະພາບຮ່າງກາຍ, ກະສຽນແລ້ວ - + ບໍ່ແມ່ນທັງໝົດ ຈາກຂ້າງເທີງ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ຂໍ້ມູນລະດັບຄົວເຮືອນ - + ທ່ານມີເຮືອນເປັນຂອງຕົນເອງບໍ ຫຼື ເຊົ່າເຮືອນເພີ່ນຢູ່? - + ເປັນເຈົ້າຂອງເອງ - + ເຊົ່າ - + ບໍ່ແມ່ນທັງສອງ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ປະເພດເຮືອນຂອງທ່ານເປັນລັກສະນະແນວໃດ? - + ເຊົ່າອາຄານ ຫລື ເປັນອາພາດເມັນ - + ສະເພາະຄອບຄົວເອງ - + ມີຫລາຍຄອບຄົວອາໃສຢູ່ນໍາກັນ - + ທີ່ລົບໄພ ຫລື ສະຖານທີ່ພັກຊົ່ວຄາວ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ກະລຸນາລະບຸອັນໃດ ທີ່ເປັນລາຍຮັບຫຼັກໃນຄອບຂອງທ່ານ ສໍາລັບປີທີ່ຜ່ານມາ. - + ເຫດຜົນທີ່ພວກເຮົາຖາມກ່ຽວກັບລາຍຮັບ ເນື່ອງຈາກເປັນພຽງການເກັບກໍາດ້ານສະຖິຕິ ໃນເວລາ ແລະ ວິທີການເດີນທາງ - + ໜ້ອຍກ່ວາ 50 ລ້ານກີບ - + 51 ລ້ານ ຫາ 100​ ລ້ານກີບ - + 101 ລ້ານ ຫາ 200 ລ້ານກີບ - + 201 ລ້ານ ຫາ 250 ລ້ານກີບ - + 251 ລ້ານ ຫາ 301 ລ້ານກີບ - + 302 ບ້ານ ຫາ 350 ລ້ານ ກີບ - + 351 ລ້ານ ຫາ 400 ລ້ານກີບ - + 401 ລ້າ ຫລືອ ຫລາຍກ່ວາ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ລວມທັງຕົວທ່ານເອງ, ມີຈັກຄົນອາໄສຢູ່ໃນເຮືອນຂອງທ່ານ? - + 1 - + 2 - + 3 - + 4 - + 5 - + 6 - + 7 - + ຫລາຍກ່ວາ 7 - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ລວມທັງຕົວທ່ານເອງ, ຄົນໃນເຮືອນຂອງທ່ານມີຈັກຄົນທີ່ເຮັດວຽກ? - + 0 - + 1 - + 2 - + 3 - + 4 - + ຫລາຍກ່ວາ 4 - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ມີເດັກນ້ອຍອາຍຸຕ່ຳກວ່າ 18 ປີອາໄສຢູ່ໃນເຮືອນຂອງທ່ານຈັກຄົນ? - + 0 - + 1 - + 2 - + 3 - + 4 - + ຫລາຍກ່ວາ 4 - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ລວມທັງຕົວທ່ານເອງ, ຄົນໃນເຮືອນຂອງທ່ານມີຈັກຄົນທີ່ມີໃບຂັບຂີ່? - + 0 - + 1 - + 2 - + 3 - + 4 - + ຫລາຍກ່ວາ 4 - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ທ່ານເປັນເຈົ້າຂອງລົດຈັກຄັນ ຫລື ເຊົ່າລົດຈັກຄັນ, ຄົນໃນເຮືອນຂອງທ່ານນໍາໃຊ້ລົດເປັນປົກກະຕິ? - + ລວມທັງລົດຈັກ, ລົດຖີບທີ່ໃຊ້ມໍເຕີໄຟຟ້າ ແລະ ລົດບ້ານ - + 0 - + 1 - + 2 - + 3 - + ຫລາຍກ່ວາ 3 - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ທ່ານເປັນເຈົ້າຂອງລົດຈັກຄັນ ຫລື ເຊົ່າລົດຈັກຄັນ, ຄົນໃນເຮືອນຂອງທ່ານນໍາໃຊ້ລົດເປັນປົກກະຕິ? - + ລວມທັງລົດຈັກ, ລົດຖີບທີ່ໃຊ້ມໍເຕີໄຟຟ້າ ແລະ ລົດບ້ານ - + 0 - + 1 - + 2 - + 3 - + ຫລາຍກ່ວາ 3 - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ຖ້າທ່ານບໍ່ສາມາດນໍາໃຊ້ພາຫະນະໃນເຮືອນຂອງທ່ານ (ຫຼືຖ້າບໍ່ມີທ່ານ), ທ່ານຈະເລືອກອັນໃດດັ່ງຕໍ່ໄປນີ້? - + ການຂົນສົ່ງສາທາລະນະ (ລົດເມ, ລົດໄຟ) - + ຂີ່ລົດໄປກັບໝູ່ ຫລື ຄົນໃນຄອບຄົວ ຫລື ໃນບ້ານດຽວກັນ - + ເຊົ່າລົດ - + ລົດຖີບ - + ຍ່າງ - + ແທັກຊີ - + ບໍ່ມີ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + + ທ່ານພົບກັບສິ່ງທ້າທາຍ (ທີ່ເປັນຫຍຸ້ງຍາກ) ອັນໃດແດ່ໃນການເດີນທາງປະຈໍາວັນຂອງທ່ານ? + + + ທ່ານສາມາດເລືອກໄດ້ສູງສຸດ 3 ຂໍ້ + + + ການເຂົ້າເຖິງ - ຍ້ອນມີຄວາມຫຍຸ້ງຍາກ ສໍາລັບຮູບແບບການເດີນທາງ + + + ຄ່າໃຊ້ຈ່າຍສູງ ສໍາລັບນໍ້າມັນ + + + ຂາດຄວາມຫນ້າເຊື່ອຖື - ເວລາໃນການເດີນທາງບໍ່ແນ່ນອນ ເພື່ອໃຫ້ຮອດສະຖານທີ່ ຈະໄປ + + + ຄວາມສະດວກສະບາຍ - ຂາດການເຂົ້າເຖີງສະຖານທີ່ ເນື່ອງຈາກແຕ່ລະສະຖານທີ່ ທີ່ຢາກໄປ ຢູ່ຄົນລະບ່ອນ + + + ຄວາມ​ປອດ​ໄພ​ສ່ວນ​ຕົວ – ມັກ​ຈະ​ຮູ້​ສຶກ​ວ່າ​ບໍ່​ປອດ​ໄພ​ໃນ​ຂະ​ນະ​ທີ່​ການ​ເດີນ​ທາງ + + + ຄວາມສ່ຽງໃນການເກີດອຸປະຕິເຫດ – ຍ້ອນຖະ​ໜົນມີຄວາມອັນຕະລາຍ ແລະ ບໍ່ສະດວກໃນການເດີນທາງ + + + ບໍ່ແມ່ນທັງໝົດ ທີ່ກ່ວາມາຂ້າງເທິງ + + ທ່ານມີສະພາບທາງດ້ານຮ່າງກາຍ ທີ່ເຮັດໃຫ້ມັນມີຄວາມຫຍຸ້ງຍາກໃນການເດີນບໍ? - + ແມ່ນ - + ບໍ່ແມ່ນ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ທ່ານມີບັນຫາດ້ານຮ່າງກາຍດົນປານໃດ? - + 6 ເດືອນ ຫລື ໜ້ອຍກ່ວາ - + ຫລາຍກ່ວາ 6 ເດືອນ - + ຕະຫລອດຊີວິດ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ຂໍ້ມູນທີ່ກ່ຽວຂ້ອງກັບວຽກຂອງທ່ານ - + ທ່ານມີຫຼາຍກວ່າໜຶ່ງວຽກບໍ? - + ພວກເຮົາໝາຍເຖີງ ເຮັດວຽກອຶ່ນນໍາ ເຊີ່ງີ່ມີຜູ້ທີ່ມາຈາ້ງທ່ານໃຫ້ເຮັດວຽກ (ທ່ານມີນາຍຈ້າງຫລາຍກ່ວາ 1) - + ແມ່ນ - + ບໍ່ແມ່ນ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ທ່ານເຮັດວຽກເຕັມເວລາ ຫຼື ເຮັດວຽກລ່ວງເວລາ ບໍ? - + ເຮັດວຽກເຕັມເວລາ ຢ່າງໜ້ອຍ 35 ຊມ ຕໍ່ອາທິດ - + ເຕັມເວລາ - + ລ່ວງເວລາ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ອັນໃດທີ່ບົ່ງບອກວ່າເປັນວຽກຫຼັກຂອງທ່ານ? - + ການຂາຍ ຫລື ວຽກບໍລິການ - + ວຽກບໍລິຫານ - + ວຽກໂຮງງານ, ການກໍໍ່ສ້າງ ຫລື ກະສິກໍາ - + ວິຊາຊີບສະເພາະ, ການຈັດການ, ຫລື ເປັນຊ່າງຊໍານານງານສະເພາະດ້ານ - + ອຶ່ນໆ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ຂໍໃຫ້ທ່ານໃຫ້ຂໍ້ມູນອັນທີ່ເປັນວຽກຫຼັກໆຂອງທ່ານ - + ຍ້ອນວ່າ ທ່ານເລືອກ ເປັນ 'ອຶ່ນໆ' - + ທ່ານມີຄວາມສາມາດໃນການກໍານົດຫຼືປ່ຽນເວລາເຂົ້າການດ້ວຍຕົວທ່ານເອງບໍ? - + ແມ່ນ - + ບໍ່ແມ່ນ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ທ່ານມີທາງເລືອກທີ່ຈະເຮັດວຽກຢູ່ບ້ານ ຫລື ສະຖານທີ່ໃດໜຶ່ງ ແທນທີ່ຈະເຂົ້າໄປເຮັດວຽກຢູ່ຫ້ອງການຂອງທ່ານ? - + ແມ່ນ - + ບໍ່ແມ່ນ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ປົກກະຕິຈັກວັນທ່ານເຮັດວຽກຢູ່ບ້ານ ຫລື ສະຖານທີ່ອຶ່ນ ທີ່ບໍ່ແມ່ນຫ້ອງການຂອງທ່ານ ຕໍ່ອາທິດ - + ໃນເວລາທີ່ທ່ານເຮັດວຽກ ເຄີ່ງວັນ ຢູ່ເຮືອນ ຫລື ສະຖານທີ່ອຶ່ນ ແທນທີ່ບ່ອນເຮັດວຽກຂອງທ່ານ ແມ່ນຈະປັດໃຫ້ເປັນ 1 ວັນເລີຍ - + 0 - + 1 - + 2 - + 3 - + 4 - + 5 - + 6 - + 7 - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + ປົກກະຕິມື້ໃດ ທີ່ທ່ານເຮັດວຽກຢູ່ບ້ານ ຫລື ສະຖານທີ່ອຶ່ນ ທີ່ບໍ່ແມ່ນຫ້ອງການຂອງທ່ານ - + ກະລຸນາເລືອກທັງໝົດ - + ວັນຈັນ - + ວັນອັງຄານ - + ວັນພຸດ - + ວັນພະຫັດ - + ວັນສຸກ - + ວັນເສົາ - + ວັນອາທິດ - + ບໍ່ສະດວກໃຫ້ຂໍ້ມູນ - + @@ -1241,6 +1295,7 @@ + @@ -1257,784 +1312,817 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - -