stplanr: Sustainable Transport Planning

Tools for transport planning with an emphasis on spatial transport data and non-motorized modes. The package was originally developed to support the 'Propensity to Cycle Tool', a publicly available strategic cycle network planning tool (Lovelace et al. 2017) <doi:10.5198/jtlu.2016.862>, but has since been extended to support public transport routing and accessibility analysis (Moreno-Monroy et al. 2017) <doi:10.1016/j.jtrangeo.2017.08.012> and routing with locally hosted routing engines such as 'OSRM' (Lowans et al. 2023) <doi:10.1016/j.enconman.2023.117337>. The main functions are for creating and manipulating geographic "desire lines" from origin-destination (OD) data (building on the 'od' package); calculating routes on the transport network locally and via interfaces to routing services such as <https://cyclestreets.net/> (Desjardins et al. 2021) <doi:10.1007/s11116-021-10197-1>; and calculating route segment attributes such as bearing. The package implements the 'travel flow aggregration' method described in Morgan and Lovelace (2020) <doi:10.1177/2399808320942779> and the 'OD jittering' method described in Lovelace et al. (2022) <doi:10.32866/001c.33873>. Further information on the package's aim and scope can be found in the vignettes and in a paper in the R Journal (Lovelace and Ellison 2018) <doi:10.32614/RJ-2018-053>, and in a paper outlining the landscape of open source software for geographic methods in transport planning (Lovelace, 2021) <doi:10.1007/s10109-020-00342-2>.

Version: 1.2.2
Depends: R (≥ 3.5.0)
Imports: curl (≥ 3.2), data.table, dplyr (≥ 0.7.6), geosphere, httr (≥ 1.3.1), jsonlite (≥ 1.5), lwgeom (≥ 0.1.4), magrittr, methods, nabor (≥ 0.5.0), od, pbapply, Rcpp (≥ 0.12.1), rlang (≥ 0.2.2), sf (≥ 0.6.3), sfheaders
Suggests: cyclestreets, dodgr (≥ 0.2.15), geodist, igraph (≥ 1.2.2), knitr (≥ 1.20), leaflet, mapsapi, opentripplanner, osrm, pct, rmarkdown (≥ 1.10), rsgeo (≥ 0.1.6), testthat (≥ 2.0.0), tmap
Published: 2024-08-22
DOI: 10.32614/CRAN.package.stplanr
Author: Robin Lovelace ORCID iD [aut, cre], Richard Ellison [aut], Malcolm Morgan ORCID iD [aut], Barry Rowlingson [ctb], Nick Bearman [ctb], Nikolai Berkoff [ctb], Scott Chamberlain [rev] (Scott reviewed the package for rOpenSci, see https://github.com/ropensci/onboarding/issues/10), Mark Padgham [ctb], Zhao Wang ORCID iD [ctb], Andrea Gilardi ORCID iD [ctb], Josiah Parry ORCID iD [ctb]
Maintainer: Robin Lovelace <rob00x at gmail.com>
BugReports: https://github.com/ropensci/stplanr/issues
License: MIT + file LICENSE
URL: https://github.com/ropensci/stplanr, https://docs.ropensci.org/stplanr/
NeedsCompilation: no
SystemRequirements: GNU make
Additional_repositories: https://josiahparry.r-universe.dev
Citation: stplanr citation info
Materials: README NEWS
CRAN checks: stplanr results

Documentation:

Reference manual: stplanr.pdf
Vignettes: Merging route networks (source, R code)
Origin-destination data with stplanr (source, R code)
stplanr: A Package for Transport Planning (source, R code)
Parallel routing and performance with stplanr (source, R code)
Route networks with stplanr (source, R code)
Transport routing with stplanr (source, R code)
Introducing stplanr (source, R code)

Downloads:

Package source: stplanr_1.2.2.tar.gz
Windows binaries: r-devel: stplanr_1.2.2.zip, r-release: stplanr_1.2.2.zip, r-oldrel: stplanr_1.2.2.zip
macOS binaries: r-release (arm64): stplanr_1.2.2.tgz, r-oldrel (arm64): stplanr_1.2.2.tgz, r-release (x86_64): stplanr_1.2.2.tgz, r-oldrel (x86_64): stplanr_1.2.2.tgz
Old sources: stplanr archive

Reverse dependencies:

Reverse imports: agricolaeplotr, GTFSwizard, pct
Reverse suggests: cyclestreets

Linking:

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