Read, Validate, Analyze, and Map GTFS Feeds
Filter a stop_times table for a given date and timespan.
Get a set of stops for a given set of service ids and route ids
Get Route Frequency
Get all trip shapes for a given route and service
Get Stop Frequency
Get all trip shapes for given trip ids
Convert stops and shapes to Simple Features
Convert an object created by gtfsio::import_gtfs to a tidygtfs object
Transform coordinates of a gtfs feed
Convert "HH:MM:SS" time strings to hms values empty strings are conver...
Fallback function to convert strings like 5:02:11 10x slower than `hhm...
Convert "HH:MM:SS" time strings to seconds (numeric) empty strings are...
Interpolate missing stop_times linearly
Convert a json (read with jsonlite) to sf object
Convert NA values to empty strings ("")
Plot GTFS stops and trips
Print a GTFS object
Calculate travel times from one stop to all reachable stops
Read and validate GTFS files
Returns all possible date/service_id combinations as a data frame
Calculate service pattern ids for a GTFS feed
Convert stops and shapes from sf objects to tibbles
Adds the coordinates of an sf LINESTRING object as columns and rows
Adds the coordinates of an sf POINT object as columns
Convert an sf object to a json list
return an sf linestring with lat and long from gtfs
Convert shapes into Simple Features Linestrings
Calculate distances between a given set of stops
Calculates distances among stop within the same group column
Convert stops into Simple Features Points
GTFS feed summary
Convert a tidygtfs object to a gtfs object (for gtfsio)
Calculate shortest travel times from a stop to all reachable stops
Returns TRUE if the given gtfs_obj contains the table in tidytransit's...
Filter a gtfs feed so that it only contains trips that pass a given ar...
Filter a gtfs feed so that it only contains a given set of trips
Filter a gtfs feed so that it only contains trips running on a given d...
Filter a gtfs feed so that it only contains trips that pass the given ...
Create a text listing the first max_agencies agencies of the feed
Convert another gtfs like object to a tidygtfs object
Cluster nearby stops within a group
Convert columns between gtfsio types to tidytransit types according to...
Check if primary keys are unique within tables
Convert empty strings ("") to NA values in all gtfs tables
Validate GTFS feed
Write a tidygtfs object to a zip file
Read General Transit Feed Specification (GTFS) zipfiles into a list of R dataframes. Perform validation of the data structure against the specification. Analyze the headways and frequencies at routes and stops. Create maps and perform spatial analysis on the routes and stops. Please see the GTFS documentation here for more detail: <https://gtfs.org/>.
Useful links