Learn R Programming

⚠️There's a newer version (2.0) of this package.Take me there.

r5r

See main README for details.

Copy Link

Version

Install

install.packages('r5r')

Monthly Downloads

1,392

Version

1.1.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Rafael H. M. Pereira

Last Published

August 8th, 2023

Functions in r5r (1.1.0)

assign_points_input

Check and convert origin and destination inputs
assign_mode

Check and select transport modes from user input
assign_drop_geometry

Assign drop geometry
assign_departure

Check and convert POSIXct objects to strings
assign_max_street_time

Assign max street time from walk/bike distance and speed
assign_opportunities

Assign opportunities data
assign_shortest_path

Assign shortest path
isochrone

Estimate isochrones from a given location
download_r5

Download R5.jar
expanded_travel_time_matrix

Calculate minute-by-minute travel times between origin destination pairs
expand_od_pairs

Expand origin-destination pairs
check_connection

Check internet connection with Ipea server
fileurl_from_metadata

Get most recent JAR file url from metadata
find_snap

Find snapped locations of input points on street network
detailed_itineraries

Detailed itineraries between origin-destination pairs
java_to_dt

Java object to data.table
set_fare_cutoffs

Set monetary cutoffs
set_breakdown

Set breakdown
r5r_sitrep

Generate an r5r situation report to help debug errors
read_fare_structure

Read a fare structure object from a file
set_max_fare

Set max fare
set_fare_structure

Set the fare structure used when calculating transit fares
set_expanded_travel_times

Set expanded travel times
set_output_dir

Set output directory
set_progress

Set progress argument
set_speed

Set walk and bike speed
set_percentiles

Set percentiles
set_monte_carlo_draws

Set number of Monte Carlo draws
pareto_frontier

Calculate travel time and monetary cost Pareto frontier
set_max_lts

Set max Level of Transit Stress (LTS)
r5r

r5r: Rapid Realistic Routing with 'R5'
set_n_threads

Set number of threads
set_max_rides

Set max number of rides
set_cutoffs

Set cutoffs
set_time_window

Set time window
set_suboptimal_minutes

Set suboptimal minutes
travel_time_matrix

Calculate travel time matrix between origin destination pairs
street_network_to_sf

Extract OpenStreetMap network in sf format from a network.dat file
setup_r5

Create a transport network used for routing in R5
transit_network_to_sf

Extract transit network in sf format
set_verbose

Set verbose argument
write_fare_structure

Write a fare structure object to disk
setup_fare_structure

Setup a fare structure to calculate the monetary costs of trips
stop_r5

Stop running r5r core
accessibility

Calculate access to opportunities
assert_fare_structure

Assert fare structure
assign_max_trip_duration

Assign max trip duration
assign_decay_function

Assign decay function and parameter values