Sometimes bus timetables do not give unique stop times to every stop. Instead several stops in an row are given the same stop time. This function interpolates the stop times so that each bust stop is given a unique arrival and departure time.
Arguments
- gtfs
named list of data.frames
- ncores
unused, kept for backwards compatibility. The interpolation is fully vectorised and runs single-threaded; the old per-trip parallel implementation spent most of its time splitting millions of trips into individual data frames and doing lubridate Period (S4) arithmetic on each, which was slower on 10 cores than this version on one.
