Package Description

osmprob

Calculates probabilistic routes on a OSM street graph

Data handling

Download and preprocess data; find start and end points on the graph

download_graph

Download OSM road graph and preprocess it

select_vertices_by_coordinates

Select vertices on graph that are closest to the specified coordinates.

Routing

Shortest path and probabilistic routing functions

get_probability

Calculate routing probabilities for a data.frame

get_shortest_path

Calculate the shortest path between two nodes on a graph

distance_matrix

Calculate a distance matrix between all pairs of a given list of points

Visualisation

plot_map

Plot the graph network as a Shiny Leaflet app in a browser.

Data

Sample data and weighting profiles for routing

road_data_sample

Sample road data

weighting_profiles

Weighting profiles