# Distances on Directed Graphs

## Documentation for package ‘dodgr’ version 0.4.3

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

dodgr-package | Distances On Directed GRaphs ("dodgr")
add_nodes_to_graph | Insert new nodes into a graph, breaking edges at point of nearest intersection.
clear_dodgr_cache | Remove cached versions of 'dodgr' graphs.
compare_heaps | Compare timings of different sort heaps for a given input graph.
dodgr | Distances On Directed GRaphs ("dodgr")
dodgr_cache_off | Turn off all dodgr caching in current session.
dodgr_cache_on | Turn on all dodgr caching in current session.
dodgr_centrality | Calculate betweenness centrality for a 'dodgr' network.
dodgr_components | Identify connected components of graph.
dodgr_contract_graph | Contract graph to junction vertices only.
dodgr_deduplicate_graph | Deduplicate edges in a graph
dodgr_distances | Calculate matrix of pair-wise distances between points.
dodgr_dists | Calculate matrix of pair-wise distances between points.
dodgr_dists_categorical | Cumulative distances along different edge categories
dodgr_dists_nearest | Calculate vector of shortest distances from a series of 'from' points to nearest one of series of 'to' points.
dodgr_flowmap | Create a map of 'dodgr' flows.
dodgr_flows_aggregate | Aggregate flows throughout a network.
dodgr_flows_disperse | Aggregate flows dispersed from each point in a network.
dodgr_flows_si | Aggregate flows throughout a network using a spatial interaction model.
dodgr_full_cycles | Calculate fundamental cycles on a FULL (that is, non-contracted) graph.
dodgr_fundamental_cycles | Calculate fundamental cycles in a graph.
dodgr_insert_vertex | Insert a new node or vertex into a network
dodgr_isochrones | Calculate isochrone contours from specified points.
dodgr_isodists | Calculate isodistance contours from specified points.
dodgr_isoverts | Calculate isodistance or isochrone vertices from specified points.
dodgr_load_streetnet | Load a street network previously saved with dodgr_save_streetnet.
dodgr_paths | Calculate lists of pair-wise shortest paths between points.
dodgr_sample | Sample a random but connected sub-component of a graph
dodgr_save_streetnet | Save a weighted streetnet to a local file
dodgr_sflines_to_poly | Convert 'sf' 'LINESTRING' objects to 'POLYGON' objects representing all fundamental cycles within the 'LINESTRING' objects.
dodgr_streetnet | Extract a street network in 'sf'-format for a given location.
dodgr_streetnet_geodesic | Force weight_streetnet to use geodesic distances.
dodgr_streetnet_sc | Extract a street network in 'silicate'-format for a given location.
dodgr_times | Calculate matrix of pair-wise travel times between points.
dodgr_to_igraph | Convert a 'dodgr' graph to an 'igraph'.
dodgr_to_sf | Convert a 'dodgr' graph into an equivalent 'sf' object.
dodgr_to_sfc | Convert a 'dodgr' graph into an equivalent 'sf::sfc' object.
dodgr_to_tidygraph | Convert a 'dodgr' graph to an 'tidygraph'.
dodgr_uncontract_graph | Re-expand a contracted graph.
dodgr_vertices | Extract vertices of graph, including spatial coordinates if included.
estimate_centrality_threshold | Estimate a value for the 'dist_threshold' parameter of the dodgr_centrality function.
estimate_centrality_time | Estimate time required for a planned centrality calculation.
hampi | Sample street network from Hampi, India.
igraph_to_dodgr | Convert a 'igraph' network to an equivalent 'dodgr' representation.
match_points_to_graph | Alias for match_pts_to_graph
match_points_to_verts | Alias for match_pts_to_verts
match_pts_to_graph | Match spatial points to the edges of a spatial graph.
match_pts_to_verts | Match spatial points to the vertices of a spatial graph.
merge_directed_graph | Merge directed edges into equivalent undirected edges.
os_roads_bristol | Sample street network from Bristol, U.K.
summary.dodgr_dists_categorical | Transform a result from dodgr_dists_categorical to summary statistics
weighting_profiles | Weighting profiles used to route different modes of transport.
weight_railway | Weight a network for routing along railways.
weight_streetnet | Weight a street network according to a specified weighting profile.
weight_streetnet.default | Weight a street network according to a specified weighting profile.
weight_streetnet.SC | Weight a street network according to a specified weighting profile.
weight_streetnet.sc | Weight a street network according to a specified weighting profile.
weight_streetnet.sf | Weight a street network according to a specified weighting profile.
write_dodgr_wt_profile | Write 'dodgr' weighting profiles to local file.