The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

transittraj: Reconstruct and Visualize Transit Vehicle Trajectories

Today's public transit vehicles produce a large amount of automatic vehicle location (AVL) data. This data is very useful for planning and performance studies, but can be noisy, error-prone, and sparse. This package provides tools for cleaning AVL point data and turning it into continuous, differentiable, monotonic, and invertible vehicle trajectory functions, based on the work of Robbennolt et al. (2025) <doi:10.48550/arXiv.2509.00119> and Huang et al. (2023) <doi:10.1109/ITSC57777.2023.10422524>.

Version: 1.1.0
Depends: R (≥ 3.5)
Imports: data.table, dplyr, geos, gganimate, ggnewscale, ggplot2, ggspatial, hms, ivs, leaflet, magrittr, purrr, rlang, sf, slider, tidyr, tidytransit, viridis
Suggests: knitr, prettymapr, rmarkdown, spelling, testthat (≥ 3.0.0)
Published: 2026-09-02
DOI: 10.32614/CRAN.package.transittraj
Author: Benjamin O'Brien [aut, cre, cph], Lewis Lehe [aut]
Maintainer: Benjamin O'Brien <obrienbenjaminj at gmail.com>
BugReports: https://github.com/UTEL-UIUC/transittraj/issues
License: GPL (≥ 3)
URL: https://utel-uiuc.github.io/transittraj/
NeedsCompilation: no
Language: en-US
Citation: transittraj citation info
Materials: README, NEWS
CRAN checks: transittraj results

Documentation:

Reference manual: transittraj.html , transittraj.pdf
Vignettes: The AVL Cleaning Workflow (source, R code)
Introduction to Trajectories (source, R code)

Downloads:

Package source: transittraj_1.1.0.tar.gz
Windows binaries: r-devel: transittraj_1.0.0.zip, r-release: transittraj_1.0.0.zip, r-oldrel: transittraj_1.1.0.zip
macOS binaries: r-release (arm64): transittraj_1.1.0.tgz, r-oldrel (arm64): transittraj_1.1.0.tgz, r-release (x86_64): transittraj_1.1.0.tgz, r-oldrel (x86_64): transittraj_1.1.0.tgz
Old sources: transittraj archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=transittraj to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.