Package: stplanr 1.2.2
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>.
Authors:
stplanr_1.2.2.tar.gz
stplanr_1.2.2.zip(r-4.5)stplanr_1.2.2.zip(r-4.4)stplanr_1.2.2.zip(r-4.3)
stplanr_1.2.2.tgz(r-4.4-any)stplanr_1.2.2.tgz(r-4.3-any)
stplanr_1.2.2.tar.gz(r-4.5-noble)stplanr_1.2.2.tar.gz(r-4.4-noble)
stplanr_1.2.2.tgz(r-4.4-emscripten)stplanr_1.2.2.tgz(r-4.3-emscripten)
stplanr.pdf |stplanr.html✨
stplanr/json (API)
NEWS
# Install 'stplanr' in R: |
install.packages('stplanr', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ropensci/stplanr/issues
- cents_sf - Spatial points representing home locations
- destinations_sf - Example destinations data
- flow - Data frame of commuter flows
- flow_dests - Data frame of invented commuter flows with destinations in a different layer than the origins
- flowlines_sf - Spatial lines dataset of commuter flows
- od_data_lines - Example of desire line representations of origin-destination data from UK Census
- od_data_routes - Example segment-level route data
- od_data_sample - Example of origin-destination data from UK Census
- osm_net_example - Example of OpenStreetMap road network
- rnet_cycleway_intersection - Example of cycleway intersection data showing problems for SpatialLinesNetwork objects
- rnet_overpass - Example of overpass data showing problems for SpatialLinesNetwork objects
- rnet_roundabout - Example of roundabout data showing problems for SpatialLinesNetwork objects
- route_network_sf - Spatial lines dataset representing a route network
- route_network_small - Spatial lines dataset representing a small route network
- routes_fast_sf - Spatial lines dataset of commuter flows on the travel network
- routes_slow_sf - Spatial lines dataset of commuter flows on the travel network
- zones_sf - Spatial polygons of home locations for flow analysis.
cyclecyclingdesire-linesorigin-destinationpeer-reviewedpubic-transportroute-networkroutesroutingspatialtransporttransport-planningtransportationwalking
Last updated 3 months agofrom:295ec8e0ae (on master). Checks:OK: 3 NOTE: 4. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 21 2024 |
R-4.5-win | OK | Nov 21 2024 |
R-4.5-linux | OK | Nov 21 2024 |
R-4.4-win | NOTE | Nov 21 2024 |
R-4.4-mac | NOTE | Nov 21 2024 |
R-4.3-win | NOTE | Nov 21 2024 |
R-4.3-mac | NOTE | Nov 21 2024 |
Exports:%>%angle_diffbb2polybbox_scalegeo_bbgeo_bb_matrixgeo_buffergeo_codegeo_lengthgeo_projectedgeo_select_aeqgeo_toptailgsectionis_linepointislinesline_bearingline_breakupline_castline_midpointline_segmentline_segment1line_vialine2dfline2pointsline2pointsnline2verticesmats2linen_segmentsn_verticesod_aggregate_fromod_aggregate_tood_coordsod_coords2lineod_id_characterod_id_max_minod_id_orderod_id_szudzikod_onewayod_to_odmatrixod2lineod2odfodmatrix_to_odonewaygeooverlineoverline_intersectionoverline2points2flowpoints2linepoints2odfquadrantread_table_builderrnet_add_nodernet_boundary_dfrnet_boundary_pointsrnet_boundary_points_lwgeomrnet_boundary_uniquernet_breakup_verticesrnet_connectedrnet_duplicated_verticesrnet_get_nodesrnet_grouprnet_joinrnet_mergernet_subsetrouteroute_average_gradientroute_dodgrroute_googleroute_nearest_pointroute_osrmroute_rolling_averageroute_rolling_diffroute_rolling_gradientroute_sequential_distroute_slope_matrixroute_slope_vectorroute_splitroute_split_idtoptail_buff
Dependencies:askpassBHclassclassIntclicurldata.tableDBIdplyre1071fansigenericsgeometriesgeospheregluehttrjsonliteKernSmoothlatticelifecyclelwgeommagrittrMASSmimenaborodopensslpbapplypillarpkgconfigproxyR6RcppRcppEigenrlangs2sfsfheadersspsystibbletidyselectunitsutf8vctrswithrwk
Introducing stplanr
Rendered fromstplanr.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2023-09-15
Started: 2019-03-20
Merging route networks
Rendered frommerging-route-networks.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2024-03-14
Started: 2023-08-16
Origin-destination data with stplanr
Rendered fromstplanr-od.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2023-09-15
Started: 2019-07-06
Parallel routing and performance with stplanr
Rendered fromstplanr-parallel.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2020-04-06
Started: 2020-01-25
Route networks with stplanr
Rendered fromstplanr-route-nets.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2023-09-14
Started: 2019-07-06
stplanr: A Package for Transport Planning
Rendered fromstplanr-paper.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2024-04-25
Started: 2016-11-18
Transport routing with stplanr
Rendered fromstplanr-routing.Rmd
usingknitr::rmarkdown
on Nov 21 2024.Last update: 2021-10-12
Started: 2019-07-06