Hui Jeong(Hailyee) Ha

Human Mobility, Transportation & Spatial Data Science

All research stories

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.

A row of shared CoGo bicycles at a docking station in Columbus, Ohio.
CoGo bike-share bicycles in Columbus, Ohio, in 2018. Paul Wasneski · Public Domain Mark applied by photographer.

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.

Maps of Columbus with red arrows marking busy bike-share connections around downtown.
Figure 2. All three ways of defining nearby trips identified groups of busy bike-share connections around downtown Columbus. Full size
More figures from the paper
Workflow diagram tracing trip data and map inputs through the spnaf package to mapped results.
Figure 1. How the spnaf package turns trip records into a map of clusters. Full size
A map of mainland U.S. airports and three maps with red arrows showing clusters of busy air travel connections.
Figure 3. Groups of busy flight connections appeared mainly in the eastern United States. Full size

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

Figures from the original study. CC BY-NC 4.0.