mbta / gtfs-documentation Goto Github PK
View Code? Open in Web Editor NEWSpecification, archive, and resource information for the MBTA's implementation of GTFS
License: Other
Specification, archive, and resource information for the MBTA's implementation of GTFS
License: Other
Hello,
I was running this project:
https://github.com/coding-to-music/r-stringlines-nyc-mta-gtfs-train-visualization
And I saw an error using tidytransit with the MBTA GTFS feed, a new file fare_products.txt
produces this error when running the R program:
# This may be unrelated, not sure:
Error in UseMethod("group_by") :
no applicable method for 'group_by' applied to an object of class "NULL"
In addition: Warning message:
# This is the actual error:
In gtfs_to_tidygtfs(g, files = files) :
Duplicated ids found in: fare_products
The returned object is not a tidygtfs object, you can use as_tidygtfs() after fixing the issue.
To fix, back up the zip file so you have an original copy:
cp MBTA_GTFS.zip MBTA_GTFS_original.zip
Now remove the offending file from the zip file
zip -d MBTA_GTFS.zip fare_products.txt
Now the file can be used as normal
I was able to produce many stringlines, after the fare_products.txt was removed
https://github.com/coding-to-music/r-stringlines-nyc-mta-gtfs-train-visualization/tree/main/stringlines
It looks like the zone_id
the stop.txt
file for Chelsea (CR-zone-4, should be CR-zone-1A) and Westborough (CR-zone-8, should be CR-zone-7) are incorrect.
gtfs_file: https://cdn.mbtace.com/archive/20190718.zip
Chelsea: https://www.mbta.com/stops/place-ER-0046
Westborough: https://www.mbta.com/stops/place-WML-0340
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.