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

adjust_arrival_departure needs to consider midnight trips #237

Open
Joaobazzo opened this issue Mar 3, 2022 · 0 comments
Open

adjust_arrival_departure needs to consider midnight trips #237

Joaobazzo opened this issue Mar 3, 2022 · 0 comments
Assignees

Comments

@Joaobazzo
Copy link
Collaborator

If a trip starts at 00:00:00, the first line of àrrival_time would be negative

> tmp_gtfs <- gtfs2gps::adjust_arrival_departure(gtfs_data = tmp_gtfs
                                               ,min_lag = 15)
> tmp_gtfs$stop_times
        trip_id arrival_time departure_time  stop_id stop_sequence
 1: 1012-10-0_1    -00:00:07       00:00:07   301729             1
 2: 1012-10-0_1     00:01:35       00:01:50   301764             2
 3: 1012-10-0_1     00:03:18       00:03:33   301724             3
 4: 1012-10-0_1     00:05:01       00:05:16 30003042             4
@Joaobazzo Joaobazzo self-assigned this Mar 3, 2022
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