Spaces:
Sleeping
Sleeping
pjgerrits
commited on
Commit
·
dc696b5
1
Parent(s):
db20118
Update survey questions
Browse files
app.py
CHANGED
@@ -167,17 +167,17 @@ else:
|
|
167 |
if st.session_state['survey']:
|
168 |
st.sidebar.title("Step 2 - Survey Questions")
|
169 |
consent = st.sidebar.checkbox("I consent to participate in this survey.")
|
170 |
-
age = st.sidebar.selectbox("Age", ["
|
171 |
gender = st.sidebar.selectbox("Gender", ["Male", "Female", "Other", "Prefer not to say"])
|
172 |
other_transport = st.sidebar.multiselect("Did you use any other mode of transport during this journey?", ["Walk", "Car", "Bike", "Train", "Other"])
|
173 |
time_of_day = st.sidebar.selectbox("Time of Day (2-hour window)", ["00:00-02:00", "02:00-04:00", "04:00-06:00", "06:00-08:00", "08:00-10:00", "10:00-12:00", "12:00-14:00", "14:00-16:00", "16:00-18:00", "18:00-20:00", "20:00-22:00", "22:00-24:00"])
|
174 |
day_of_week = st.sidebar.selectbox("Day of the Week", ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"])
|
175 |
-
familiarity = st.sidebar.radio("Familiarity (1-5, with 1 being not familiar with the area and 5 being very familiar with the area)", [1, 2, 3, 4, 5])
|
176 |
route_guidance = st.sidebar.selectbox("Main method of route guidance", ["GPS/sat nav (e.g. Google maps, Citymapper, etc)", "Paper map", "Someone else’s directions (in group)", "Someone else’s directions (not in group)", "Street signs", "I was just wandering"])
|
177 |
group = st.sidebar.radio("Walking in group?", ["Yes", "No"])
|
178 |
-
navigation_ease = st.sidebar.radio("How easy do you typically find navigating whilst walking in cities (independent of this event)? [1-5]", [1, 2, 3, 4, 5])
|
179 |
-
personal_context = st.sidebar.text_area("
|
180 |
-
lost_factors = st.sidebar.
|
181 |
open_ended_explanation = st.sidebar.text_area("Open-ended explanation of why you got lost")
|
182 |
|
183 |
if st.sidebar.button("Save"):
|
|
|
167 |
if st.session_state['survey']:
|
168 |
st.sidebar.title("Step 2 - Survey Questions")
|
169 |
consent = st.sidebar.checkbox("I consent to participate in this survey.")
|
170 |
+
age = st.sidebar.selectbox("Age", ["18-25","25-35","35-45","45-55","55-65","65+"])
|
171 |
gender = st.sidebar.selectbox("Gender", ["Male", "Female", "Other", "Prefer not to say"])
|
172 |
other_transport = st.sidebar.multiselect("Did you use any other mode of transport during this journey?", ["Walk", "Car", "Bike", "Train", "Other"])
|
173 |
time_of_day = st.sidebar.selectbox("Time of Day (2-hour window)", ["00:00-02:00", "02:00-04:00", "04:00-06:00", "06:00-08:00", "08:00-10:00", "10:00-12:00", "12:00-14:00", "14:00-16:00", "16:00-18:00", "18:00-20:00", "20:00-22:00", "22:00-24:00"])
|
174 |
day_of_week = st.sidebar.selectbox("Day of the Week", ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"])
|
175 |
+
familiarity = st.sidebar.radio("Familiarity (1-5, with 1 being not familiar with the area and 5 being very familiar with the area)", [1, 2, 3, 4, 5],horizontal=True)
|
176 |
route_guidance = st.sidebar.selectbox("Main method of route guidance", ["GPS/sat nav (e.g. Google maps, Citymapper, etc)", "Paper map", "Someone else’s directions (in group)", "Someone else’s directions (not in group)", "Street signs", "I was just wandering"])
|
177 |
group = st.sidebar.radio("Walking in group?", ["Yes", "No"])
|
178 |
+
navigation_ease = st.sidebar.radio("How easy do you typically find navigating whilst walking in cities (independent of this event)? [1-5]", [1, 2, 3, 4, 5],horizontal=True)
|
179 |
+
personal_context = st.sidebar.text_area("Please describe the context in which you got lost in your own words")
|
180 |
+
lost_factors = st.sidebar.multiselect("Ranking important factors for getting lost", ["environment", "street layout", "number of people", "busy streets", "complex roadsigns"], help="Please select in yoor order of significance")
|
181 |
open_ended_explanation = st.sidebar.text_area("Open-ended explanation of why you got lost")
|
182 |
|
183 |
if st.sidebar.button("Save"):
|