Skip to contents

Setup network

setup_r5()
Create a transport network used for routing in R5

Accessibility

accessibility()
Calculate access to opportunities

Routing

travel_time_matrix()
Calculate travel time matrix between origin destination pairs
expanded_travel_time_matrix()
Calculate minute-by-minute travel times between origin destination pairs
detailed_itineraries()
Detailed itineraries between origin-destination pairs
pareto_frontier()
Calculate travel time and monetary cost Pareto frontier

Isochrone

isochrone()
Estimate isochrones from a given location

Extract Network spatial data

street_network_to_sf()
Extract OpenStreetMap network in sf format from a network.dat file
transit_network_to_sf()
Extract transit network in sf format

Fare structure

setup_fare_structure()
Setup a fare structure to calculate the monetary costs of trips
read_fare_structure()
Read a fare structure object from a file
write_fare_structure()
Write a fare structure object to disk

Support functions

find_snap()
Find snapped locations of input points on street network
r5r_sitrep()
Generate an r5r situation report to help debug errors
r5r_cache()
Manage cached files from the r5r package
download_r5()
Download R5.jar
stop_r5()
Stop running r5r core