gtfs_fast_stops: Find fast stops

View source: R/gtfs_cleaning.R

gtfs_fast_stopsR Documentation

Find fast stops

Description

A varient of gtfs_fast_trips that can detect stops that may be in the wrong location

Usage

gtfs_fast_stops(gtfs, maxspeed = 83)

Arguments

gtfs

list of gtfs tables

maxspeed

the maximum allowed speed in metres per second default 83 m/s (about 185 mph the max speed of trains on HS1 line)

Details

The function looks a straight line distance between each stop and detects the fastest segment of the journey. A common cause of errors is that a stop is in the wrong location so a bus can appear to teleport across the country in seconds.


ITSLeeds/UK2GTFS documentation built on Feb. 14, 2025, 11:20 a.m.