[Chicago] Parsing Metra's Online Schedule
Massimo Di Pierro
mdipierro at cs.depaul.edu
Thu Apr 10 02:51:39 CEST 2008
The Metra schedule already parsed and normalized in routes is here:
http://mdp.cti.depaul.edu/examples/static/metra.pickle
[(line,type,routes),...]
type=1 for weekdays, 2 for saturday and 3 for sundays
routes is {route_number:[(station,time),(station,time),...],...}
time is in minutes from midnight.
Getting this was not as easy as it seems and took a lot of work.
Massimo
More information about the Chicago
mailing list