Skip to contents

Input/output

read_gtfs()
Read GTFS data into a list of data.tables
write_gtfs()
Write GTFS data into a zip file

Convert GTFS to GPS-like table

gtfs2gps()
Convert GTFS to GPS-like data given a spatial resolution

Support functions to edit GTFS input

filter_single_trip()
Filter GTFS trips in order to have one trip per shape_id

Spatial functions to treat GPS output

gps_as_sfpoints()
Convert GPS-like data.table to a Simple Feature points object
gps_as_sflinestring()
Converts a GPS-like data.table to a LineString Simple Feature (sf) object
append_height()
Add a column with height to GPS data

Deprecated

adjust_arrival_departure()
Adjust the arrival and departure times of a GTFS data (deprecated)
adjust_speed()
Adjust the speeds of a gps-like table created with gtfs2gps (deprecated)
filter_valid_stop_times()
Filter GTFS data using valid stop times (deprecated)
gtfs_shapes_as_sf()
Convert GTFS shapes to simple feature object (deprecated)
gtfs_stops_as_sf()
Convert GTFS stops to simple feature object (deprecated)
remove_invalid()
Remove invalid objects from GTFS data (deprecated)