r5r2.3.0 package

Rapid Realistic Routing with 'R5'

accessibility

Calculate access to opportunities

assert_fare_structure

Assert fare structure

assign_decay_function

Assign decay function and parameter values

assign_departure

Check and convert POSIXct objects to strings

assign_drop_geometry

Assign drop geometry

assign_max_street_time

Assign max street time from walk/bike distance and speed

assign_max_trip_duration

Assign max trip duration

assign_mode

Check and select transport modes from user input

assign_opportunities

Assign opportunities data

assign_osm_link_ids

Assign osm_link_ids

assign_points_input

Check and convert origin and destination inputs

assign_shortest_path

Assign shortest path

detailed_itineraries

Detailed itineraries between origin-destination pairs

download_r5

Download R5.jar

expand_od_pairs

Expand origin-destination pairs

expanded_travel_time_matrix

Calculate minute-by-minute travel times between origin destination pai...

fileurl_from_metadata

Get most recent JAR file url from metadata

find_snap

Find snapped locations of input points on street network

isochrone

Estimate isochrones from a given location

java_to_dt

Java object to data.table

pareto_frontier

Calculate travel time and monetary cost Pareto frontier

r5r_cache

Manage cached files from the r5r package

r5r_sitrep

Generate an r5r situation report to help debug errors

r5r

r5r: Rapid Realistic Routing with 'R5'

read_fare_structure

Read a fare structure object from a file

set_breakdown

Set breakdown

set_cutoffs

Set cutoffs

set_expanded_travel_times

Set expanded travel times

set_fare_cutoffs

Set monetary cutoffs

set_fare_structure

Set the fare structure used when calculating transit fares

set_max_fare

Set max fare

set_max_lts

Set max Level of Transit Stress (LTS)

set_max_rides

Set max number of rides

set_monte_carlo_draws

Set number of Monte Carlo draws

set_n_threads

Set number of threads

set_output_dir

Set output directory

set_percentiles

Set percentiles

set_progress

Set progress argument

set_speed

Set walk and bike speed

set_suboptimal_minutes

Set suboptimal minutes

set_time_window

Set time window

set_verbose

Set verbose argument

setup_fare_structure

Setup a fare structure to calculate the monetary costs of trips

setup_r5

Create a transport network used for routing in R5

stop_r5

Stop running r5r core

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

travel_time_matrix

Calculate travel time matrix between origin destination pairs

write_fare_structure

Write a fare structure object to disk

Rapid realistic routing on multimodal transport networks (walk, bike, public transport and car) using 'R5', the Rapid Realistic Routing on Real-world and Reimagined networks engine <https://github.com/conveyal/r5>. The package allows users to generate detailed routing analysis or calculate travel time and monetary cost matrices using seamless parallel computing on top of the R5 Java machine. While R5 is developed by Conveyal, the package r5r is independently developed by a team at the Institute for Applied Economic Research (Ipea) with contributions from collaborators. Apart from the documentation in this package, users will find additional information on R5 documentation at <https://docs.conveyal.com/>. Although we try to keep new releases of r5r in synchrony with R5, the development of R5 follows Conveyal's independent update process. Hence, users should confirm the R5 version implied by the Conveyal user manual (see <https://docs.conveyal.com/changelog>) corresponds with the R5 version that r5r depends on. This version of r5r depends on R5 v7.1.

  • Maintainer: Rafael H. M. Pereira
  • License: MIT + file LICENSE
  • Last published: 2025-08-21