switch back to vp-sjoined-to-roads, aggregate shapes up to route-direction with stop_pairs #965
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
road segment speeds
vp_primary_direction=="Unknown"
), and only allow vp that have moved since prior ping to joingtfs_funnel / aggregation of shapes to route-direction
stop_pair
column, which tells us the pair ofprior_stop_id
andcurrent_stop_id
, instead of usingstop_sequence
. when we aggregate, we only want to aggregate segments that are traveling between the same 2 stopsstop_times_with_direction.py
, switch fromdask
topandas
because it's fastermultiday_avg.py
, add a second aggregation where a week's worth of speeds by stop segments can be aggregated to route-direction-segments.26_weekly_avg_speeds.ipynb
take a look at example shape and make bar chart of speeds