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