NACIS 2016 Presentation
Elisabeth Leaf, University of Washington, Urban Studies
Britta Ricker, Ph.D. University of Washington
Alexa Brockamp, University of Washington
The Husky Lines research project takes a mixed methods approach to identifying barriers to public transit usage for the student population of the Tacoma campus of the University of Washington. The first step was to illuminate existing public transit deserts and simultaneously implement a student survey to measure student perceptions of transit use. Based on these findings, the team is recommending new bus stops and bus lines to better serve the student population in an effort to increase usage of public transportation by the students. Taking this approach a step further, this specific study aims to collect perceptions of daily commute and actual daily commute patterns. A mobile application, tapping into built-in sensors, measures actual commute patterns and is augmented with a traditional travel diary to measure perception of commutes. Finally, this study provides an example of how mobile technology can be used to support transportation surveys.
3. Husky Line Research Project
Green Seed Fund grant recipient
Started with the UWT Chancellor’s Advisory
Committee for Sustainability
Team of 5 researchers:
Dr. Britta Ricker, Dr. Jim Gawel, Alexa Brockamp, Elisabeth
Leaf, Greg Lund
3
4. Husky Line Research Project
Researching:
1) Current and future transit options for UW Tacoma Campus
2) Student perceptions of transit and barriers to transit use
3) Ways to incorporate technology and GIS into transit studies
4
6. Underlying Problem:
Transportation planners often use self-reported data via travel
surveys and travel diaries to gather information on
transportation. They use this information to create travel
demand models and estimate changes in transportation activity
over time.
However, self-reported data can only measure perceptions of
transportation usage, not actual habits.
6
8. How can we use mobile technology
to improve the way we conduct
transportation studies?
8
sensors
9. How can we use mobile sensors to improve
the way we conduct transportation studies
by estimating a user’s mode of
transportation?
9
10. Husky Lines Mobile App
Spring Quarter:
Choose target device(s)
Create paper prototype
Conduct literature review
Summer Quarter:
Develop app
Write findings
iPhone and iPad
Storyboard designed in XCode
Literature review found many examples of
research exploring similar use of sensors and their
accuracy
11. The Vision:
11
1) Standard main menu
2) Consent form and demographic
survey on the first start-up
3) Daily transportation diary that is
pushed to the device nightly
with notification via text or
email
4) Record location when in study
participant is in motion
5) Record accelerometer data
when in motion
6) Upload all data nightly to a
remote server
7) Provide the participant with a
visualization of their data
12. Reality:
12
1) Standard main menu
2) Consent form and
demographic survey on the
first start-up
3) Daily transportation diary that
is pushed to the device nightly
with notification via text or
email
4) Record location when study
participant is in motion
5) Record accelerometer data
when in motion
6) Upload all data nightly to a
remote server
7) Provide the participant with a
visualization of their data
ResearchKit Framework
ResearchKit Framework
Tested separately but not
included in app
Access through
Core Location
Access through
Core Motion
Not possible to finish
within time constraints
24. What are the challenges to building a
mobile application for research?
24
25. • Core Motion requires
testing outside of the
Xcode simulator
• Apple Developer License
has some hurdles in set-up
Working with new
technology
• Lack of documentation
• Limited examples
• Subtle differences in
syntax between versions
25
Apple Developer
License
Working with Swift
& Objective-C
• Apple uses both Swift and
Objective-C
• Syntax can be quite
different and is not
interchangeable
Findings: challenges in creating the app
27. Findings: Filters used in CMMotionActivityManager
(accelerometer history) can, and should, be improved
27
28. Next Steps
28
● Build out the survey modules, set up notifications, and improve user interface
● Research the filters used in CMMotionActivityManager to see how they could be
improved
● Set up server and automated data uploading
● With both live location and accelerometer data, limit the data collection to
‘when in motion’
● Work with “raw” accelerometer data to predict the mode of transportation
This research was funded through a grant from the University of Washington’s Green Seed Fund-- a grant that funds sustainability related research, and research that furthers campus sustainability goals. The University has a tri-campus climate action plan, one facet of which is a carbon reduction goal. Specifically, it calls for the university as a whole to go completely carbon neutral by 2020.
Transit is a well-acknowledged issue in our area, with our student body spread out across more than five counties, and the public transportation available to get students being fragmented, and minimal.
The Husky Lines idea was to create a program that would cater to the specific needs of UWT students to access their university campus quickly, eliminating the extra travel time that bus travel imposes on students due to transfers.
This project started as an exploration in how mobile technology can help with transit and transportation issues. I specifically looked at sensors in mobile devices in their enhance transportation survey techniques and to contribute to transit somehow mobile tech + transportation issues
The solution was to build a mobile app to do these things:
Standard main menu 2) Consent form and demographic survey on the first start-up
Daily transportation diary that is pushed to the device nightly with notification via text or email
Record location when in study participant is in motion, 4) Record accelerometer data when in motion
Upload all data nightly to a remote server
Provide the participant with a visualization of their data
Consent form
With the consent form you can provide info about your research… Then the participant agrees, signs. At any point they can decline.
Consent form
This is the PDF form that is stored after it is made. The code for things like storing the PDF are not built in to the framework but are not difficult to pull together.
Next, the survey components of the app were also created from ResearchKit.
Surveys: The format of the survey questions is customizable. There are multiple choice questions, time, date, fill-in-the-blank, etc.
For those who aren’t familiar with the accelerometer on a device, it is the sensor that detects movement. Accel data has 3 outputs: x, y and z. Like in the picture, when movement is detected in any of the 3 axes, the accelerometer moves from 0 to 1 or -1 or so on. We can use it for detecting mode of transportation because each mode has movement patterns associated with it that we can gauge from the data collected.