Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

Commit

Permalink
Merge pull request #5 from aamaliaa/updates-gtfs
Browse files Browse the repository at this point in the history
updates gtfs data, fixes parser bug
  • Loading branch information
aamaliaa authored Mar 11, 2017
2 parents 99e626e + e924927 commit 0d55f12
Show file tree
Hide file tree
Showing 7 changed files with 569,631 additions and 555,339 deletions.
20 changes: 10 additions & 10 deletions lib/data/gtfs/calendar.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
service_id,monday,tuesday,wednesday,thursday,friday,saturday,sunday,start_date,end_date
A20160612WKD,1,1,1,1,1,0,0,20160612,20171231
A20160612SAT,0,0,0,0,0,1,0,20160612,20171231
A20160612SUN,0,0,0,0,0,0,1,20160612,20171231
B20160612WKD,1,1,1,1,1,0,0,20160612,20171231
B20160612SAT,0,0,0,0,0,1,0,20160612,20171231
B20160612SUN,0,0,0,0,0,0,1,20160612,20171231
R20150510WKD,1,1,1,1,1,0,0,20150510,20161231
R20150510SAT,0,0,0,0,0,1,0,20150510,20161231
R20150510SUN,0,0,0,0,0,0,1,20150510,20161231
S20150510MON,1,0,0,0,0,0,0,20150510,20161231
A20161106WKD,1,1,1,1,1,0,0,20161106,20171231
A20161106SAT,0,0,0,0,0,1,0,20161106,20171231
A20161106SUN,0,0,0,0,0,0,1,20161106,20171231
B20161106WKD,1,1,1,1,1,0,0,20161106,20171231
B20161106SAT,0,0,0,0,0,1,0,20161106,20171231
B20161106SUN,0,0,0,0,0,0,1,20161106,20171231
R20161106WKD,1,1,1,1,1,0,0,20161106,20171231
R20161106SAT,0,0,0,0,0,1,0,20161106,20171231
R20161106SUN,0,0,0,0,0,0,1,20161106,20171231
S20161106MON,1,0,0,0,0,0,0,20161106,20171231
36 changes: 24 additions & 12 deletions lib/data/gtfs/calendar_dates.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,25 @@
service_id,date,exception_type
A20160612WKD,20160704,2
A20160612SAT,20160704,1
A20160612WKD,20160905,2
A20160612SUN,20160905,1
A20160612WKD,20161124,2
A20160612SUN,20161124,1
B20160612WKD,20160704,2
B20160612SAT,20160704,1
B20160612WKD,20160905,2
B20160612SUN,20160905,1
B20160612WKD,20161124,2
B20160612SUN,20161124,1
A20161106WKD,20161124,2
A20161106SUN,20161124,1
A20161106WKD,20161226,2
A20161106SUN,20161226,1
A20161106WKD,20170102,2
A20161106SUN,20170102,1
A20161106WKD,20170220,2
A20161106SAT,20170220,1
B20161106WKD,20161124,2
B20161106SUN,20161124,1
B20161106WKD,20161226,2
B20161106SUN,20161226,1
B20161106WKD,20170102,2
B20161106SUN,20170102,1
B20161106WKD,20170220,2
B20161106SAT,20170220,1
R20161106WKD,20161124,2
R20161106SUN,20161124,1
R20161106WKD,20161226,2
R20161106SUN,20161226,1
R20161106WKD,20170102,2
R20161106SUN,20170102,1
R20161106WKD,20170220,2
R20161106SAT,20170220,1
3 changes: 2 additions & 1 deletion lib/data/gtfs/routes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ G,MTA NYCT,G,Brooklyn-Queens Crosstown,"Trains operate between Court Square, Que
J,MTA NYCT,J,Nassau St Local,"Trains operate weekdays between Jamaica Center (Parsons/Archer), Queens, and Broad St, Manhattan. During weekdays, Trains going to Manhattan run express in Brooklyn between Myrtle Av and Marcy Av from about 7 AM to 1 PM and from Manhattan from 1:30 PM and 8 PM. During weekday rush hours, trains provide skip-stop service. Skip-stop service means that some stations are served by J trains, some stations are served by the Z trains, and some stations are served by both J and Z trains. J/Z skip-stop service runs towards Manhattan from about 7 AM to 8:15 AM and from Manhattan from about 4:30 PM to 5:45 PM.",1,http://web.mta.info/nyct/service/pdf/tjcur.pdf,996633,
L,MTA NYCT,L,14 St-Canarsie Local,"Trains operate between 8 Av/14 St, Manhattan, and Rockaway Pkwy/Canarsie, Brooklyn, 24 hours daily.",1,http://web.mta.info/nyct/service/pdf/tlcur.pdf,A7A9AC,
M,MTA NYCT,M,QNS BLVD-6th AVE/ Myrtle Local,"Trains operate between Middle Village-Metropolitan Avenue, Queens and Myrtle Avenue, Brooklyn at all times. Service is extended weekdays (except late nights) Continental Ave, Queens, All trains provide local service.",1,http://web.mta.info/nyct/service/pdf/tmcur.pdf,FF6319,
N,MTA NYCT,N,Broadway Express,"Trains operate from Ditmars Boulevard, Queens, to Stillwell Avenue, Brooklyn, at all times. N trains in Manhattan operate along Broadway and across the Manhattan Bridge to and from Brooklyn. Trains in Brooklyn operate along 4th Avenue, then through Borough Park to Gravesend. Trains typically operate local in Queens, and either express or local in Manhattan and Brooklyn, depending on the time. Late night trains operate via Whitehall Street, Manhattan. Late night service is local.",1,http://web.mta.info/nyct/service/pdf/tncur.pdf,FCCC0A,
N,MTA NYCT,N,Broadway Local,"Trains operate from Ditmars Boulevard, Queens, to Stillwell Avenue, Brooklyn, at all times. N trains in Manhattan operate along Broadway and across the Manhattan Bridge to and from Brooklyn. Trains in Brooklyn operate along 4th Avenue, then through Borough Park to Gravesend. Trains typically operate local in Queens, and either express or local in Manhattan and Brooklyn, depending on the time. Late night trains operate via Whitehall Street, Manhattan. Late night service is local.",1,http://web.mta.info/nyct/service/pdf/tncur.pdf,FCCC0A,
Q,MTA NYCT,Q,Broadway Express,"Trains operate between Astoria, Queens, and Stillwell Av, Brooklyn except nights. During late nights trains will operate from 57th Street/7th Avenue, Manhattan, and Stillwell Av, Brooklyn. Trains operate express from 34th St. via Broadway to Canal Street, except late nights when trains operate express 34th to Canal(lower level), cross into Brooklyn via Manhattan Bridge, then operate local to and from Stillwell Av.",1,http://web.mta.info/nyct/service/pdf/tqcur.pdf,FCCC0A,
R,MTA NYCT,R,Broadway Local,"Trains operate local between Forest Hills-71 Av, Queens, and 95 St/4 Av, Brooklyn, at all times except late nights. During late nights, trains operate only in Brooklyn between 36 St and 95 St/4 Av.",1,http://web.mta.info/nyct/service/pdf/trcur.pdf,FCCC0A,
H,MTA NYCT,S,Rockaway Park Shuttle,"Service operates at all times between Broad Channel, and Rockaway Park, Queens.",1,http://web.mta.info/nyct/service/pdf/thcur.pdf,,
W,MTA NYCT,W,Broadway Local,"Trains operate from Ditmars Boulevard, Queens, to Stillwell Avenue, Brooklyn, at all times. N trains in Manhattan operate along Broadway and across the Manhattan Bridge to and from Brooklyn. Trains in Brooklyn operate along 4th Avenue, then through Borough Park to Gravesend. Trains typically operate local in Queens, and either express or local in Manhattan and Brooklyn, depending on the time. Late night trains operate via Whitehall Street, Manhattan. Late night service is local.",1,http://web.mta.info/nyct/service/pdf/tmcur.pdf,FCCC0A,
Z,MTA NYCT,Z,Nassau St Express,"During weekday rush hours, J and Z trains provide skip-stop service. Skip-stop service means that some stations are served by J trains, some stations are served by the Z trains, and some stations are served by both J and Z trains. J/Z skip-stop service runs towards Manhattan from about 7 AM to 8:15 AM and from Manhattan from about 4:30 PM to 5:45 PM.",1,http://web.mta.info/nyct/service/pdf/tjcur.pdf,996633,
SI,MTA NYCT,SIR,Staten Island Railway,"Service runs 24 hours a day between the St George and Tottenville terminals. At the St George terminal, customers can make connections with Staten Island Ferry service to Manhattan.",2,http://web.mta.info/nyct/service/pdf/sircur.pdf,,
Loading

0 comments on commit 0d55f12

Please sign in to comment.