Spatial Methods & Software · 2025
Which busy bike trips tend to be near one another?
We wrote an R package to find groups of busy connections in data such as bike trips and flights.

I wanted to find groups of busy routes rather than just rank them by the number of trips. A bike-share trip gives you two places to work with, the start and the end. In spnaf, we use both when deciding which links to compare.
We tried the package on almost 37,000 bike-share trips in Columbus, Ohio. Several groups of busy connections appeared around downtown. The exact links changed when we changed the definition of nearby.
We also tried it on U.S. domestic flights and found many of the clusters along the East Coast. If you try the package, I’d try a few ways to define ‘nearby’ and see which groups you keep finding.

More figures from the paper


The original paper
Spnaf: An R package for analyzing and mapping the hotspots of flow datasets
Environment and Planning B: Urban Analytics and City Science, 52(2), 509–517