You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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:
It's an interesting question - MBTA is not responsible for Tidytransit - and Tidytransit is trying to be compatable with all the transit systems in the world - not sure if the files are expected to be automatically importable - Tidytransit is not able to read documentation, the files are expected to be self-importable. Having a unique index sequence id column could solve the problem. Otherwise people are not going to be able to use Tidytransit for MBTA and will spin for hours/days trying to figure out the problem. But technically it's not MBTA's problem if a third party can't read the files...
It is interesting that all the many other files in the MBTA.zip are able to be read. Anyway, just fyi about this issue. Thx
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
#34
produces this error when running the R program:
To fix, back up the zip file so you have an original copy:
Now remove the offending file from the zip file
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
The text was updated successfully, but these errors were encountered: