max_bike_timeto better align with R5 inputs. Closes #273.
R5’s native elevation weighting for walking and cycling impedance functions. As a result
r5rdoes not have raster or rgdal package dependencies anymore. Closes #243 and #233.
travel_time_matrix()were removed. New function
expanded_travel_time_matrix()should be used to retrieve detailed information of travel time matrices.
r5rnow throws an error if users simultaneously pass more than one of the following modes
transport_modeparameter. This is because these modes are understood as mutually exclusive.
setup_r5()no longer has a
expanded_travel_time_matrix()to calculate minute-by-minute travel times between origin destination pairs and get additional information on public transport routes, number of transfers, and total access, waiting, in-vehicle and transfer times.
pareto_frontier()to compute of travel time and monetary cost Pareto frontier.
r5r_sitrep()to generate an
r5rsituation report to help debug code errors
setup_fare_structure()to setup a fare structure to calculate the monetary costs of trips
read_fare_structure()to read a fare structure object from a file
write_fare_structure()to write a fare structure object to disk
detailed_itineraries()has been substantially improved. The new vesion is faster than previous ones. It also includes new parameters listed below. Closes #265.
suboptimal_minutesparameter, which extends the search space and returns a larger number of trips beyond the fastest ones;
pareto_frontier()functions. Closes #230.
output_dirto all routing functions, which can be used to specify a directory in which the results should be saved as
.csvfiles (one file for each origin). This parameter is particularly useful when running estimates on memory-constrained settings, because writing the results to disk prevents
R5from storing them in memory.
accessibility()are now of returned as doubles / class
numeric, except when using a
stepdecay function. Closes #235.
detailed_itineraries()function has a new parameter
all_to_all, which allows users to set whether they want to query routes between all origins to all destinations (
all_to_all = TRUE) or to query routes between the 1st origin to the 1st destination, then the 2nd origin to the 2nd destination, and so on (
all_to_all = FALSE, the default). Closes #224.
accessibility(), clarifying the function only accepts up to 12 cutoff values. Closes #216.
travel_time_matrix(), clarifying these function only accepts up to 5 values. Closes #246.
verbose = FALSEand
progress = FALSEby default.
street_network_to_sf(). Closes #251.
transit_network_to_sf()generated some routes with invalid geometries. Closes #256.
setup_r5(path, overwrite = TRUE)to work.
r5r.montecarlo_drawsoption. Defaults to 5. This would mean 300 draws in a 60 minutes time window, for example. The user may also set a custom value using
options(r5r.montecarlo_draws = 10L)(in which you substitute 10L by the value you want to set).
total_timecolumn name to
travel_time_matrix()output, to avoid confusion with
Updated R5 to version 6.4. Closes #182.
Significant performance improvements in all functions, due to a faster method for consolidating outputs. Closes #180
transit_network_to_sf(), to extract the public transport network from R5 as simple features. Closes #179
progress parameter in the
detailed_itineraries() functions, to show or hide the progress counter indicator. Closes #186
Created new support function
java_to_dt() and removed dependency on the
jdx package. Closes #206
Reduced r5r’s internet dependency quite considerably. Internet is now only required to download the latest R5 jar if it hasn’t been downloaded before. Closes #197.
Added two new parameters
breakdown_stat to the
travel_time_matrix(). This allows users to breakdown the travel time information by trip subcomponents (access time, waiting time, traveling time etc). It allows one to extract more information but it makes computation time slower. Closes #194
overwrite, that forces the building of a new
network.dat, even if one already exists.
departure_datetimeto clarify the parameter must be set to local time. Closes #188
transit_network_to_sf()regarding stops that are not snapped to road network. Closes #192.
max_cycling_distparameters. Closes #193.
accessibility() to calculate access to opportunities. Closes #169
find_snap() to help users identify where in the street network the input of origin and destination points are snapped to. Closes 168.
max_bike_dist added to routing and accessibility functions. Closes #174
Implemented temporary solution for elevation. Closes #171. Now r5r can read Digital Elevation Model (DEM) data from raster files in
.tif format to weight the street network for walking and cycling according to the terrain’s slopes. Ideally, we would like to see a solution that accounts for elevation implemented upstream in R5. For now, this is a temporary solution implemented within r5r.
street_network_to_sf() now has a more clean output when the provided GTFS covers a larger area than the street network pbf. Closes #173
The size of poa.zip sample GTFS data has been reduced due to CRAN policies. Closes #172.
Progress counter Implemented. Closes 150. When the
verbose parameter is set to
FALSE, r5r prints a progress counter and eventual
ERROR messages. This comes with a minor penalty for computation performance. Hence we have kept
verbose defautls to
travel_time_matrix()functions. LTS stands for Level of Traffic Stress, and allows modeling of bicycle comfort in routing analysis. Additional information can be found in Conveyal’s documentation as well as blog posts 1 and 2. Closes #160
check_connection()to check internect connection before download files from Ipea server.
shortest_path = TRUE. Closes #153.
detailed_itineraries()now output more detailed messages in the console, when
verbose = TRUE. This shall make debugging the package much easier.
travel_time_matrix(). Closes #149.
idcolumn. Closes #154.
travel_time_matrix(). Closes #147.
detailed_itineraries()that caused a crash when the shape of a route in the input GTFS is broken. Closes #145
mode_egressto routing functions, so that users can explicitly set the transport mode used after egress from public transport (walk, car or bicycle). Closed #63.
percentilesparameter in the
travel_time_matrixfunction now only accepts up to 5 cut points due to changes in R5.
travel_matrix_functionwhen the user sets
time_windowparameter. Closes #127.
travel_time_matrixnow has new parameters
percentilesit now calculates travel times for multiple departure times each minute within a given time window. For now, the function automatically set the number of Monte Carlo Draws to 5 times the size of
time_window. Closes #104 and #118