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.0.0
Depends: R (≥ 3.5)
Imports: data.table, dplyr, 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-08-31
DOI: 10.32614/CRAN.package.transittraj (may not be active yet)
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
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.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): transittraj_1.0.0.tgz

Linking:

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