convert GTFS data into frequency data