Skip to contents

Get GTFS feeds

load_feed()
Read GTFS feed, fixing integrity errors
query_mobilitydatabase()
Query Mobility Database API for GTFS feeds

Prioritize

prioritize_lanes()
Prioritize road network lanes for bus lane implementation
rt_extend_prioritization()
Extend prioritization with GTFS-RT metrics

Filter

filter_by_agency()
Filter GTFS feed by agency
filter_by_modes()
Filter GTFS feed by mode
filter_by_route_name()
Filter GTFS feed by route name

Analyse

get_network_extension()
Get network routes extension
get_route_frequency_hourly()
Get aggregated frequency per hour for each bus route
get_stop_frequency_hourly()
Get aggregated frequency per hour for each bus stop
get_way_frequency_hourly()
Get aggregated frequency per hour for each OSM way
network_overline()
Aggregate lines based on overlap with target network

Classify

classify_frequency_los()
Classify bus frequency level of service based on HCM

Manipulate

unify()
Merge multiple GTFS into a single aggregated file
create_calendar()
Create calendar.txt from calendar_dates.txt

OpenStreetMaps

osm_bus_lanes()
Export designated bus lanes from OpenStreetMaps
osm_centerlines()
Get centerlines for OSM road network
osm_shapes_match_routes()
Get OSM routes that match shapes, based on geometrical match
osm_shapes_to_routes()
Get OSM routes geometry considering gtfs:shape_id match
osm_trips_to_routes()
Get OSM routes geometry considering gtfs:trip_id match

Realtime

rt_collect_json()
Collect GTFS-RT data from a JSON feed at regular intervals
rt_collect_protobuf()
Collect GTFS-RT data from a Protocol Buffers feed at regular intervals
rt_extend_prioritization()
Extend prioritization with GTFS-RT metrics

Utils

calendar_nextBusinessWednesday()
Get next business Wednesday