Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Research Request - Can we leverage gtfs-segments in our pipeline? #988

Closed
tiffanychu90 opened this issue Jan 8, 2024 · 0 comments · Fixed by #997
Closed

Research Request - Can we leverage gtfs-segments in our pipeline? #988

tiffanychu90 opened this issue Jan 8, 2024 · 0 comments · Fixed by #997
Assignees
Labels
gtfs-rt Work related to GTFS-Realtime research request Issues that serve as a request for research (summary and handoff)

Comments

@tiffanychu90
Copy link
Member

Complete the below when receiving a research request, and continue to add to this issue as you receive additional details and produce deliverables. Be sure to also add the appropriate project-level label to this issue (eg gtfs-rt, DLA).

Research Question

Single sentence description: Bus Performance Metrics webinar by WMATA surfaced some interesting repos...and gtfs-segments seems like something we could use (presentation showed route-direction segments between 2 stops, with stop_id1, and stop_id2 that are basically equivalent to our stop_pair column when we aggregate to route-direction.

Detailed description:
Quick poke through repos shows that gtfs-segments is based on gtfs_functions. It also looks like gtfs-segments doesn't use classes and underlying functions take a somewhat-processed df or gdf. Should be straightforward to use these functions.

How will this research be used?

  • Let's see what we can leverage from these packages, if it's faster, more accurate, and more well-maintained than what we can do in our scripts.

Deliverables

  • Exploratory notebook to make sure segments are similar to the way we use stop segments
  • Scripts in rt_segment_speeds/scripts/ and consolidate cut_normal_segments.py and cut_special_segments.py into 1 script that uses gtfs-segments
@tiffanychu90 tiffanychu90 added gtfs-rt Work related to GTFS-Realtime research request Issues that serve as a request for research (summary and handoff) labels Jan 8, 2024
@tiffanychu90 tiffanychu90 self-assigned this Jan 8, 2024
@tiffanychu90 tiffanychu90 linked a pull request Jan 17, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gtfs-rt Work related to GTFS-Realtime research request Issues that serve as a request for research (summary and handoff)
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant