About Portal Transit: Summary

Portal Transit visualizes operational data from Portland, Oregon’s public transit operator, TriMet. By combining schedule data with readings from automated passenger counters and GPS devices on board each TriMet vehicle, Portal enables the user to display load, utilized capacity, on time performance, and stop activity during different times of day.

The data in Portal are quarterly averages provided by TriMet after agency staff perform QA/QC. The measures available in Portal’s visualizatons are sums or averages of those quarterly averages within timeframes specified by the user. The mapping of performance measures associated with segments (as opposed to stops) relies on the merging of routes only where they overlap.

Read more about:

The Application

Portal Transit is an application designed to visualize archived operational data for TriMet. The secondary objective is to increase the public availability of agency data for a wide variety of interested parties.

The Data

Portal Transit relies on four sets of data. The first is TriMet’s service schedule, which indicates when and where every fixed-route service stop should occur. The second is TriMet’s Automatic Vehicle Location data set, which includes the actual time when each vehicle performed the schedule service stops. The third is TriMet’s Automated Passenger Counter data, which covers the number of passengers who get on (“board”) and off (“alight”) at each stop. The fourth is the geospatial data used as a context for visualize the first three sets of data.

The APC and AVL data are downloaded from the vehicles every night. On a quarterly basis, TriMet staff perform quality control/quality assurance (QA/QC) on the data to identify instances in which the AVL and/or APC devices malfunctioned so that erroneous data are excluded. Using the clean raw data, staff generate aggregate statistics for each three-month reporting period. The result of the aggregation is a single record for each scheduled service stop.

Example: Route 14-Hawthorne has scheduled service at SE Madison & 11th Avenue in Portland going westbound (Stop ID #3637) every weekday at 8:42 a.m. In the winter quarter (January, February and March) there were 64 week days in 2013 but 3 were holidays (New Year’s, MLK Jr., President’s) on which TriMet runs Sunday/Holiday service. In QA/QC, staff look for evidence of hardware malfunctions such as zero boardings on a certain vehicle for the entire day. If there are none of these, staff aggregate the 61 relevant weekday records of the 8:42 service at Stop 3637 to produce a single record for that quarter.

The Measures

Because the AVL records when a vehicle actually serves a stop, each raw record includes the number of seconds by which the service is early or late. In aggregate, this yields an average number of seconds early or late for each scheduled service stop as well as a percent early, on-time, and late (TriMet defines on-time as between one minute early and four minutes late). The time is recorded even when a bus passes a stop without pulling over.

The APC records the number of ons and offs at each stop, which supports the computation of the vehicle load leaving every service stop. Because the schedule data includes the vehicle equipment in use and its attributes, including seated and standing capacity, one can compute a measure such as “utilized capacity” for each record in the raw data. Quarterly, the aggregate statistics include the average number of passengers boarding and alighting as well as the departing load and utilized capacity at each scheduled service stop.

For data analysis and visualization, Portal supports time-based queries. The user can specify the day of the week, since the schedule is based on weekday, Saturday and Sunday/Holiday service types. The user can specify the time of day, based on customized start/end times or pre-assigned time periods such as “AM Peak.” finally, the user can specify the year and quarter from which to query data.

Depending on the measure, a time-based query averages or adds the aggregated values described above.

Example: The 14-Hawthorne has 16 scheduled stops at SE Madison & 11th between 7 and 9 a.m. on weekdays (according to the Winter 2013 schedule). Therefore, Portal includes one record for each of those stops for that quarter. To visualize the performance measure “stop activity” during the AM peak, Portal takes the sum of those 16 records, each of which is an average. Thus Portal indicates that an average of 82.14 passengers board the 14-Hawthorne at Stop #3637 during the weekday AM Peak for the Winter 2013 quarter.

Currently, four measures are available in Portal Transit: