Skip to contents

All functions

add_flow_length()
Add Length Column to Flow Data
add_xyuv()
Add Start/End Coordinates & Flow IDs
cluster_flows_dbscan()
Cluster Flows using DBSCAN
dbscan_sensitivity()
Sensitivity analysis of DBSCAN parameters for flow clustering. The function allows you to test different combinations of epsilon and minPts parameters for clustering flows using DBSCAN. It can be used to determine what parameter values make sense for your data
distance_matrix()
Convert Long-Format Distance Tibble to Matrix
filter_by_length()
Filter Flows by Length
flow_distance()
Calculate Flow Distance and Dissimilarity
flows_leeds
Example flow data for Leeds. It is from the 2021 census, and it contains all Origin - Destination flows at the MSOA level. For more info on census flow data, see the ONS documentation See data-raw/flows_leeds.R for how this data was created.
weight_vector()
Generate Weight Vector from Flows