Describe the bug
A GTFS file conains the timetable for a periode of time. Trips vary over time so the stop times table seems to include duplicate stops. The calendar opbject must be used to filter the gtfs data for a specific date. This prevents multiple occurances of the same trip in the dataset which will be evaluated each time it occurs.
To Reproduce
Steps to reproduce the behavior:
Dataset: GTFS NL
Looking at the possible trips from one station to another, the stop times table returns multiple results seeming duplicate (only the trip_id is different). Dropping duplicates on the ritnumber reduces the list to the correct size where each ritnumber is only returned once.
Before executing the algorithm, the timetable must be filtered for a specific date.
Another advantage is that the used dataset will be reduced in size by approx 75%.
Describe the bug A GTFS file conains the timetable for a periode of time. Trips vary over time so the stop times table seems to include duplicate stops. The calendar opbject must be used to filter the gtfs data for a specific date. This prevents multiple occurances of the same trip in the dataset which will be evaluated each time it occurs.
To Reproduce Steps to reproduce the behavior:
Looking at the possible trips from one station to another, the stop times table returns multiple results seeming duplicate (only the trip_id is different). Dropping duplicates on the ritnumber reduces the list to the correct size where each ritnumber is only returned once.
Before executing the algorithm, the timetable must be filtered for a specific date. Another advantage is that the used dataset will be reduced in size by approx 75%.