General Transit Feed Specification (GTFS) Editing and Analysing Tools


[Up] [Top]

Documentation for package ‘gtfstools’ version 2.0.0

Help Pages

as_dt_gtfs Coerce lists and GTFS objects from other packages into gtfstools-compatible GTFS objects
as_dt_gtfs.gtfs Coerce lists and GTFS objects from other packages into gtfstools-compatible GTFS objects
as_dt_gtfs.list Coerce lists and GTFS objects from other packages into gtfstools-compatible GTFS objects
as_dt_gtfs.tidygtfs Coerce lists and GTFS objects from other packages into gtfstools-compatible GTFS objects
build_graph Build a transit network graph
combine_nearby_stops Combine nearby stops
convert_seconds_to_time Convert seconds after midnight to time strings
convert_sf_to_shapes Convert a simple feature object into a 'shapes' table
convert_shapes_to_sf Convert 'shapes' table to simple feature object (deprecated)
convert_stops_to_sf Convert 'stops' table to simple feature object (deprecated)
convert_stops_to_shapes Convert stops into shapes
convert_time_to_seconds Convert time fields to seconds after midnight
crop_gtfs Crop a GTFS object to a spatial extent
download_validator Download MobilityData's GTFS validator
filter_by_agency_id Filter GTFS object by 'agency_id'
filter_by_date Filter GTFS object by date
filter_by_period Filter GTFS object by period
filter_by_route_id Filter GTFS object by 'route_id'
filter_by_route_type Filter GTFS object by 'route_type' (transport mode)
filter_by_service_id Filter GTFS object by 'service_id'
filter_by_sf Filter a GTFS object using a simple features object (defunct)
filter_by_shape_id Filter GTFS object by 'shape_id'
filter_by_spatial_extent Filter a GTFS object using a spatial extent
filter_by_stop_id Filter GTFS object by 'stop_id'
filter_by_time_of_day Filter GTFS object by time of day
filter_by_trip_id Filter GTFS object by 'trip_id'
filter_by_weekday Filter GTFS object by weekday
fix_gtfs Fix common problems in GTFS feeds
frequencies_to_stop_times Convert frequencies to stop times
get_active_services Get active services
get_calendar_overlap Get calendar overlap
get_children_stops Get children stops recursively
get_dates Get service dates
get_dwell_time Get dwell time
get_parent_station Get parent stations recursively
get_route_frequency Get route frequency
get_route_geometry Get route geometry
get_route_speed Get route speed
get_route_timetable Get route timetable
get_shapes_geometry Get the 'shapes' table with spatial geometry
get_shape_length Get shape length
get_start_and_end_times Get start and end times
get_stops Get stops
get_stops_geometry Get the 'stops' table with spatial geometry
get_stop_distances Get distances between stops
get_stop_frequency Get stop frequency
get_stop_times_patterns Get stop times patterns
get_stop_timetable Get stop timetable
get_summary Get a summary of a GTFS feed
get_trip_duration Get trip duration
get_trip_geometry Get trip geometry
get_trip_length Get trip length
get_trip_segment_duration Get trip segments' duration
get_trip_speed Get trip speed
get_vkt Get vehicle-kilometres travelled
get_vmt Get vehicle-miles travelled
interpolate_shape_dist_traveled Interpolate the distances travelled along shapes
interpolate_stop_times Interpolate missing stop times
list_validator_versions List MobilityData's GTFS validator versions
merge_gtfs Merge GTFS files
read_gtfs Read GTFS files
remove_duplicates Remove duplicated entries
remove_unused_ids Remove unused ids
set_dwell_time Set dwell time
set_max_speed Set trip maximum speed
set_min_dwell_time Set a minimum dwell time
set_route_frequency Set route frequency
set_route_speed Set route average speed
set_trip_speed Set trip average speed
stop_times_to_frequencies Convert stop times to frequencies
validate_gtfs Validate GTFS feed
write_gtfs Write GTFS files