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

filtering unrealistic duration_minutes values from siri_rides #414

Open
idshklein opened this issue Jan 31, 2023 · 0 comments
Open

filtering unrealistic duration_minutes values from siri_rides #414

idshklein opened this issue Jan 31, 2023 · 0 comments

Comments

@idshklein
Copy link
Collaborator

Hi,
some of the values in siri_rides duration_minutes column are unrealistic, due to rides in which data was not transmitted in the beginning or end of trip.
In order to give the user an estimate about the quality of the ride duration, a it is possible to add a distance between the first location of the trip and the first stop of the trip, as well as for the last. This should return "circular" for circular lines.
I have done a "manual" version of this using the R code in the link:
https://gist.github.com/idshklein/a71baaf2118da8dae44c76d7cd2c87b1
adding those columns, using even haversine distance, could help filtering out wrong measurements.

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

No branches or pull requests

1 participant