UrbanAnalyst / gtfsrouter

Routing and analysis engine for GTFS (General Transit Feed Specification) data
https://urbananalyst.github.io/gtfsrouter/
82 stars 17 forks source link

remove_terminal_sn not working for all GTFS feeds #37

Closed AlexandraKapp closed 4 years ago

AlexandraKapp commented 4 years ago

https://github.com/ATFutures/gtfs-router/blob/44f8e43df3dd85c7488e66e33e789967e021dcf6/R/extract-gtfs.R#L77

e.g. VRR Feed has endings with "S" that are valid and need to be kept.

mpadge commented 4 years ago

That commit implements a new parameter: extract_gtfs (..., stn_suffixes = NULL). Any non-NULL values will be removed from the end of station ID entries, including potential multi-character strings. Thanks for noting that!