6 Online and social media reporting
The online system is used to analyse the sensor data and provide a
reporting framework. There are two facets of the system: one
private site for researchers where all data is accessible, and a
private site for participants to view their own data as they progress
through a trial (with secure log-in). Fig. 9 shows an example (fed
by test data) of the site that trial users would see after logging in.
The ride data can be accessed in real time, but also later on when
both riders and researchers can go through the archive of rides that
has been built up over time. Trial participants sign consent forms
detailing the collection and use of their ride data.
The system is built using Python and the Django web framework,
so as to give access to Numpy, a scientific computation package that
is used for analysis of the sensor data. The core of the system
analyses the GPS data, segments the data into separate trips and
calculates statistics about each trip: length, duration, start time and
end time. Trips are segmented using a time threshold, with gaps of
more than 3 min between GPS reports marking the end of a trip.
Trips are shown using a web interface, where the user can view
individual trips on a map created with the OpenStreetMap API.