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

Handle last pings in realtime #20

Open
Edward-Jackson-ONS opened this issue Mar 18, 2024 · 1 comment
Open

Handle last pings in realtime #20

Edward-Jackson-ONS opened this issue Mar 18, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Edward-Jackson-ONS
Copy link
Collaborator

Last pings before 10am aren't necessarily to be associated with a stop e.g. a ping may indicate that stop 5 is next but this may still be minutes in the future. Do we need to drop the last stop_sequence for each trip_id?

@Edward-Jackson-ONS Edward-Jackson-ONS added the enhancement New feature or request label Mar 18, 2024
@Edward-Jackson-ONS Edward-Jackson-ONS self-assigned this Mar 18, 2024
@Edward-Jackson-ONS
Copy link
Collaborator Author

By filtering to all the last pings, we can identify (for the large part) currently active services. Consequently, we can remove these trip_id/time_transpond/current_stop combinations. However, this will also remove those services that have legitimately 'just' arrived at their next stop. These are likely to be few in number but will require further work.

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

No branches or pull requests

1 participant