Package: flowcluster 0.2.1.9000

flowcluster: Cluster Origin-Destination Flow Data

Provides functionality for clustering origin-destination (OD) pairs, representing desire lines (or flows). This includes creating distance matrices between OD pairs and passing distance matrices to a clustering algorithm. See the academic paper Tao and Thill (2016) <doi:10.1111/gean.12100> for more details on spatial clustering of flows. See the paper on delineating demand-responsive operating areas by Mahfouz et al. (2025) <doi:10.1016/j.urbmob.2025.100135> for an example of how this package can be used to cluster flows for applied transportation research.

Authors:Hussein Mahfouz [aut, cre], Robin Lovelace [aut]

flowcluster_0.2.1.9000.tar.gz
flowcluster_0.2.1.9000.zip(r-4.7)flowcluster_0.2.1.9000.zip(r-4.6)flowcluster_0.2.1.9000.zip(r-4.5)
flowcluster_0.2.1.9000.tgz(r-4.6-any)flowcluster_0.2.1.9000.tgz(r-4.5-any)
flowcluster_0.2.1.9000.tar.gz(r-4.7-any)flowcluster_0.2.1.9000.tar.gz(r-4.6-any)
flowcluster_0.2.1.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
flowcluster/json (API)

# Install 'flowcluster' in R:
install.packages('flowcluster', repos = c('https://hussein-mahfouz.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/hussein-mahfouz/flowcluster/issues

Pkgdown/docs site:https://hussein-mahfouz.github.io

Datasets:
  • 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.

On CRAN:

Conda:

4.18 score 5 stars 3 scripts 184 downloads 9 exports 34 dependencies

Last updated from:a7467fff31. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK143
source / vignettesOK335
linux-release-x86_64OK146
macos-release-arm64OK160
macos-oldrel-arm64OK173
windows-develOK151
windows-releaseOK107
windows-oldrelOK98
wasm-releaseOK146

Exports:add_flow_lengthadd_xyuvaggregate_clustered_flowscluster_flows_dbscandbscan_sensitivitydistance_matrixfilter_by_lengthflow_distanceweight_vector

Dependencies:classclassIntclicpp11DBIdbscandplyre1071genericsglueKernSmoothlifecyclelwgeommagrittrMASSpillarpkgconfigproxypurrrR6Rcpprlangs2sfstringistringrtibbletidyrtidyselectunitsutf8vctrswithrwk