Learn R Programming

stdbscan

Overview

stdbscan provide a function for the ST-DBSCAN (Spatio-Temporal DBSCAN) algorithm developped by Birant & Kut (2007). It extends DBSCAN by adding a temporal parameter that allows spatio-temporal clustering.

The function is implemented in C++ via Rcpp for performance.

Installation

The package will be available on CRAN. Once released, install with:

install.packages("stdbscan")

In the meantime, you can install the development version from GitHub:

# install.packages("devtools")
devtools::install_github("MiboraMinima/stdbscan")

Usage

An example of the application of stdbscan is available in the vignette on stop identification.

Problems and Issues

System Requirements

stdbscan requires R v >= 3.5.0.

Alternatives

R :

python :

References

Birant, D., & Kut, A. (2007). ST-DBSCAN: An algorithm for clustering spatial–temporal data. Data & Knowledge Engineering, 60(1), 208–221. https://doi.org/10.1016/j.datak.2006.01.013

Copy Link

Version

Install

install.packages('stdbscan')

Version

0.1.0

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Antoine Le Doeuff

Last Published

January 27th, 2026

Functions in stdbscan (0.1.0)

geolife_traj

GPS pings from the GeoLife GPS Trajectories dataset
st_dbscan

Spatio-Temporal DBSCAN
stdbscan-package

stdbscan: Spatio-Temporal DBSCAN Clustering