Read and write GTFS feeds |
|
---|---|
Read and validate GTFS files |
|
Write a tidygtfs object to a zip file |
|
Travel time calculations |
|
Calculate shortest travel times from a stop to all reachable stops |
|
Calculate travel times from one stop to all reachable stops |
|
Filter a |
|
Filter GTFS objects |
|
Filter a gtfs feed so that it only contains trips running on a given date |
|
Filter a gtfs feed so that it only contains trips that pass a given area |
|
Filter a gtfs feed so that it only contains trips that pass the given stops |
|
Filter a gtfs feed so that it only contains a given set of trips |
|
Get a set of stops for a given set of service ids and route ids |
|
Analyse |
|
Validate GTFS file |
|
Calculate servicepattern ids for a gtfs feed |
|
Get Route Frequency |
|
Get Stop Frequency |
|
GTFS feed summary |
|
Find and fix inconsistencies in feeds |
|
Interpolate missing stop_times linearly Uses shape_dist_traveled if available |
|
Cluster nearby stops within a group |
|
Calculates distances among stop within the same group column |
|
Calculate distances between a given set of stops |
|
Geospatial functions (sf) |
|
Convert stops and shapes to Simple Features |
|
Transform or convert coordinates of a gtfs feed |
|
Convert shapes into Simple Features Linestrings |
|
Convert stops into Simple Features Points |
|
Get all trip shapes for given trip ids |
|
Get all trip shapes for a given route and service |
|
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 |
|
Helpers |
|
Convert another gtfs like object to a tidygtfs object |
|
Convert an object created by gtfsio::import_gtfs to a tidygtfs object |
|
Convert time columns to hms::hms in feed |
|
convert a vector of time strings empty strings are converted to NA |
|
Function to convert "HH:MM:SS" time strings to seconds. |
|
Fallback function to convert strings like 5:02:11
10x slower than |
|
Convert NA values to empty strings ("") |
|
Returns TRUE if the given gtfs_obj contains the table. Used to check for
tidytransit's calculated tables in sublist ( |
|
Check if primary keys are unique within tables |
|
Convert empty strings ("") to NA values in all gtfs tables |
|
Plot GTFS stops and trips |
|
Print a GTFS object |
|
Datasets |
|
Example GTFS data |
|
Dataframe of route type id's and the names of the types (e.g. "Bus") |