Bondify / gtfs_functions

Package with useful functions to create geo-spatial visualizations from a GTFS.
MIT License
114 stars 30 forks source link

Trying to run stops_freq with missing direction_id crashes Pandas #10

Closed Rikuoja closed 9 months ago

Rikuoja commented 2 years ago

Some gtfs feeds (e.g. Estonia, http://peatus.ee/gtfs/gtfs.zip ) have missing direction_ids.

While the previous PR #9 fixes import_gtfs in those cases, stops_freq function still crashes if direction_id is missing.

Will make a PR to fix this too.

Bondify commented 1 year ago

hi @Rikuoja thanks for input. The newest version of the package should fix this. Please let me know if that's not the case.