Re: Queens Bus Redesign (350165) | |||
![]() |
|||
Home > BusChat | |||
[ Read Responses | Post a New Response | Return to the Index ] |
|
![]() |
Re: Queens Bus Redesign |
|
Posted by Stephen Bauman on Mon Jun 9 14:46:22 2025, in response to Re: Queens Bus Redesign, posted by WMATAGMOAGH on Mon Jun 9 13:26:47 2025. I have reason to believe there are some stealth cuts to service at certain locations that were not advertised at any point during the planning and outreach process.I don't think you need anything as elaborate as what I'm doing to prove or disprove you suspicion. I'm using Python as the programming language because it has a vast library of packages to handle GTFS. Look into gtfs_kit, if you have not already. It will read the feed (as file or url) and spit out the various files as a pandas DataFrame or geopandas GeoDataFrame. Supply a date and it will go through all the gymnastics of going through the calendar and calendar_dates tables to the trips, routes, stop_times and stops tables for the specified date. It does have a bunch of functions that might answer your question directly. I've been just doing my own exercises on the DataFrame and GeoDataFrame tables for my work. Sounds simple, until you try it. :=) |
![]() |
![]() |
![]() |