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

Route identification #986

Merged
merged 5 commits into from
Dec 30, 2023
Merged

Route identification #986

merged 5 commits into from
Dec 30, 2023

Conversation

tiffanychu90
Copy link
Member

@tiffanychu90 tiffanychu90 commented Dec 30, 2023

  • Parse out several operators who use hyphens and underscores in route_id
  • Tried both most common string value and most recent string value to stand-in for any variation
    • Most recent is probably the cleanest. The most common may mean tagging routes with values that are outdated (but most frequent at the time of new changes).
  • Rough heuristic is:
    • same route_id (parsed), different route names appearing in string values -> find the most recent combined_name
    • same recent_combined_name, different route_id (parsed) -> find the most recent route_id (parsed)
  • gtfs_funnel: Use script to create a crosswalk for our downloaded dates to link the route_id, route_long_name, route_short_name to a cleaned up version that we would want to use to groupby or display on charts.
  • There are a handful of operators who use hash-y route_ids...or maybe these are internally modeled by us because they're missing...these might not link across time
  • Research Request - Route identification over time #924

@tiffanychu90 tiffanychu90 linked an issue Dec 30, 2023 that may be closed by this pull request
Copy link

nbviewer URLs for impacted notebooks:

@tiffanychu90 tiffanychu90 merged commit 48a91f2 into main Dec 30, 2023
4 checks passed
@tiffanychu90 tiffanychu90 deleted the route-identification branch December 30, 2023 00:27
Copy link

nbviewer URLs for impacted notebooks:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Research Request - Route identification over time
1 participant