Coder Social home page Coder Social logo

gtfs-documentation's People

Contributors

bfauble avatar digitalcora avatar emmasimon avatar handorff avatar jfabi avatar lemald avatar losvedir avatar paulswartz avatar skyqrose avatar uchukwu avatar whoops avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gtfs-documentation's Issues

Duplicated ids found in: fare_products - The returned object is not a tidygtfs object

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:

# 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.