UrbanAnalyst / gtfsrouter

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

gtfs_summary fn #5

Closed mpadge closed 5 years ago

mpadge commented 5 years ago

Lots of details could be usefully summarised in a series of single numbers (most likely as a simple named vector). Numbers of routes, stations, trips, providers, transfers, everything. Ping @tbuckl, @polettif thinking this is the context of tidytransit - some heavy back-end stuff already in-place for numbers of journeys between station pairs and the like, so this function should be pretty easy to implement.

polettif commented 5 years ago

I think such a summary function is nice to have. Personally, I never really needed feed info like this. If it's necessary I simply called length(unique(gtfs$trips_df$trip_id)) or a pipe similar to that.

What do you mean by "number of journeys between station pairs"?

tbuckl commented 5 years ago

@mpadge this is a great idea. an equivalent of plot().