stplanr: Sustainable Transport Planning

Share:

Functionality and data access tools for transport planning, including origin-destination analysis, route allocation and modelling travel patterns.

Author
Robin Lovelace [aut, cre], Richard Ellison [aut], Barry Rowlingson [aut] (Author of overline), Nick Bearman [aut] (Co-author of gclip), Malcolm Morgan [aut] (Co-author of angle_diff)
Date of publication
2016-11-11 12:09:36
Maintainer
Robin Lovelace <rob00x@gmail.com>
License
MIT + file LICENSE
Version
0.1.6
URLs

View on CRAN

Man pages

angle_diff
Calculate the angular difference between lines and a...
api_pat
Retrieve personal access token.
bb2poly
Convert a bounding box to a SpatialPolygonsDataFrame
bbox_scale
Scale a bounding box
buff_geo
Create a buffer of n metres for non-projected 'geographical'...
calc_catchment
Calculate catchment area and associated summary statistics.
calc_catchment_sum
Calculate summary statistics for catchment area.
calc_moving_catchment
Calculate summary statistics for all features independently.
calc_network_catchment
Calculate catchment area and associated summary statistics...
cents
SpatialPointsDataFrame of home locations for flow analysis.
crs_select_aeq
Select a custom projected CRS for the area of interest
decode_gl
Decode Google polyline compressed string
destination_zones
example destinations data
dist_google
Return travel network distances and time using the Google...
dl_stats19
Download Stats19 data
find_network_nodes
Find graph node ID of closest node to given coordinates
flow
data frame of commuter flows
flow_dests
data frame of invented commuter flows with destinations in a...
flowlines
SpatialLinesDataFrame of commuter flows
format_stats19_ac
Format UK 'Stats19' road traffic casualty data
format_stats19_ca
Format UK 'Stats19' road traffic casualty data
format_stats19_ve
Format UK 'Stats19' road traffic casualty data
gclip
Crops spatial object x to the bounding box of spatial object...
gprojected
Perform GIS functions on a temporary, projected version of a...
gsection
Function to split overlapping SpatialLines into segments
gtfs2sldf
Import GTFS shapes and route data to SpatialLinesDataFrame.
is_linepoint
Identify lines that are points
islines
Do the intersections between two geometries create lines?
line2df
Convert SpatialLinesDataFrame objects to a data.frame with...
line2points
Convert a SpatialLinesDataFrame to points
line2route
Convert straight SpatialLinesDataFrame from flow data into...
line_bearing
Find the bearing of straight lines
lineLabels
Label SpatialLinesDataFrame objects
line_length
Calculate length of lines in geographic CRS
line_midpoint
Find the mid-point of lines
line_segment
Divide SpatialLines dataset into regular segments
locate2spdf
Return SpatialPointsDataFrame with located points from OSRM...
mapshape
Simplify geometry of spatial objects with the mapshaper...
mapshape_available
Does the computer have mapshaper available?
nearest2spdf
Return SpatialPointsDataFrame with nearest street from OSRM...
nearest_cyclestreets
Generate nearest point on the route network of a point using...
nearest_google
Generate nearest point on the route network of a point using...
nearest_osm
Generate nearest point on the route network of a point from...
n_vertices
Retrieve the number of vertices from a SpatialLines or...
od2line
Convert flow data to SpatialLinesDataFrame
od2odf
Extract coordinates from OD data
od_dist
Quickly calculate Euclidean distances of od pairs
od_id_order
Generate ordered ids of OD pairs so lowest is always first
od_radiation
Function that estimates flow between points or zones using...
onewaygeo
Aggregate flows so they become non-directional (by geometry -...
onewayid
Aggregate ods so they become non-directional
overline
Convert series of overlapping lines into a route network
plot-SpatialLinesNetwork-ANY-method
Plot a SpatialLinesNetwork
points2flow
Convert a series of points into geographical flows
points2line
Convert a series of points, or a matrix of coordinates, into...
points2odf
Convert a series of points into a dataframe of origins and...
read_stats19_ac
Import and format UK 'Stats19' road traffic casualty data
read_stats19_ca
Import and format UK 'Stats19' road traffic casualty data
read_stats19_ve
Import and format UK 'Stats19' road traffic casualty data
read_table_builder
Import and format Australian Bureau of Statistics (ABS)...
reproject
Reproject lat/long spatial object so that they are in units...
route_cyclestreet
Plan a single route with CycleStreets.net
route_graphhopper
Plan a route with the graphhopper routing engine
routes_fast
SpatialLinesDataFrame of commuter flows on the travel network
routes_slow
SpatialLinesDataFrame of commuter flows on the travel network
route_transportapi_public
Plan a single route with TransportAPI.com
SpatialLinesNetwork
Create object of class SpatialLinesNetwork from...
SpatialLinesNetwork-class
An S4 class representing a (typically) transport network
stplanr-package
*stplanr: Sustainable Transport Planning with R*
summary-SpatialLinesNetwork-method
Print a summary of a SpatialLinesNetwork
sum_network_routes
Summarise shortest path between nodes on network
table2matrix
Return Matrix containing travel times between origins and...
toptail
Clip the first and last n metres of SpatialLines
toptail_buff
Clip the beginning and ends SpatialLines to the edge of...
toptailgs
Clip the first and last n metres of SpatialLines
update_line_geometry
Update line geometry
viaroute
Query OSRM service and return json string result
viaroute2sldf
Convert json result of OSRM routing query to...
weightfield
Get or set weight field in SpatialLinesNetwork
writeGeoJSON
Write to geojson easily
zones
SpatialPolygonsDataFrame of home locations for flow analysis.

Files in this package

stplanr
stplanr/inst
stplanr/inst/extdata
stplanr/inst/extdata/SA1Population.csv
stplanr/inst/extdata/testcycleway.zip
stplanr/inst/extdata/sydroads.zip
stplanr/inst/extdata/beartransit-ca-us.zip
stplanr/inst/extdata/smallsa1.zip
stplanr/inst/extdata/route_data.geojson
stplanr/inst/extdata/SA1Population.xlsx
stplanr/inst/doc
stplanr/inst/doc/introducing-stplanr.html
stplanr/inst/doc/introducing-stplanr.Rmd
stplanr/inst/doc/introducing-stplanr.R
stplanr/inst/example-flows-up-hill.R
stplanr/tests
stplanr/tests/testthat.R
stplanr/tests/testthat
stplanr/tests/testthat/test-route_cyclestreet.R
stplanr/tests/testthat/test-read_table_builder.R
stplanr/tests/testthat/test-calc_catchment.R
stplanr/tests/testthat/test-od2line.R
stplanr/tests/testthat/test-route_graphhopper.R
stplanr/tests/testthat/test-overline.R
stplanr/src
stplanr/src/spatialnetworks.cpp
stplanr/src/RcppExports.cpp
stplanr/NAMESPACE
stplanr/demo
stplanr/demo/00Index
stplanr/demo/route-analysis.R
stplanr/NEWS.md
stplanr/data
stplanr/data/destination_zones.rda
stplanr/data/zones.rda
stplanr/data/routes_fast.rda
stplanr/data/flowlines.rda
stplanr/data/routes_slow.rda
stplanr/data/destinations.rda
stplanr/data/flow.rda
stplanr/data/cents.rda
stplanr/data/flow_dests.rda
stplanr/R
stplanr/R/crs-funs.R
stplanr/R/SpatialLinesNetwork.R
stplanr/R/routes.R
stplanr/R/loadABS.R
stplanr/R/load-stats19.R
stplanr/R/radiate.R
stplanr/R/osrmfunctions.R
stplanr/R/geo-functions.R
stplanr/R/stplanr-package.R
stplanr/R/od-funs.R
stplanr/R/google-functions.R
stplanr/R/catchmentArea.R
stplanr/R/RcppExports.R
stplanr/R/linefuns.R
stplanr/R/oneway.R
stplanr/R/gtfs.R
stplanr/R/toptail.R
stplanr/R/gps.R
stplanr/R/cyclestreets.R
stplanr/R/data.r
stplanr/R/overline.R
stplanr/R/route-transport-api.R
stplanr/vignettes
stplanr/vignettes/Transport-r-flows.bib
stplanr/vignettes/introducing-stplanr.Rmd
stplanr/README.md
stplanr/MD5
stplanr/build
stplanr/build/vignette.rds
stplanr/DESCRIPTION
stplanr/man
stplanr/man/read_stats19_ve.Rd
stplanr/man/nearest_osm.Rd
stplanr/man/format_stats19_ve.Rd
stplanr/man/locate2spdf.Rd
stplanr/man/dist_google.Rd
stplanr/man/find_network_nodes.Rd
stplanr/man/line2df.Rd
stplanr/man/SpatialLinesNetwork.Rd
stplanr/man/od_dist.Rd
stplanr/man/format_stats19_ca.Rd
stplanr/man/calc_network_catchment.Rd
stplanr/man/line2route.Rd
stplanr/man/nearest2spdf.Rd
stplanr/man/dl_stats19.Rd
stplanr/man/nearest_google.Rd
stplanr/man/sum_network_routes.Rd
stplanr/man/reproject.Rd
stplanr/man/flow.Rd
stplanr/man/angle_diff.Rd
stplanr/man/gsection.Rd
stplanr/man/calc_catchment_sum.Rd
stplanr/man/bbox_scale.Rd
stplanr/man/islines.Rd
stplanr/man/routes_slow.Rd
stplanr/man/format_stats19_ac.Rd
stplanr/man/zones.Rd
stplanr/man/api_pat.Rd
stplanr/man/points2line.Rd
stplanr/man/SpatialLinesNetwork-class.Rd
stplanr/man/writeGeoJSON.Rd
stplanr/man/mapshape.Rd
stplanr/man/points2odf.Rd
stplanr/man/read_table_builder.Rd
stplanr/man/route_cyclestreet.Rd
stplanr/man/update_line_geometry.Rd
stplanr/man/buff_geo.Rd
stplanr/man/route_graphhopper.Rd
stplanr/man/stplanr-package.Rd
stplanr/man/route_transportapi_public.Rd
stplanr/man/line_bearing.Rd
stplanr/man/calc_moving_catchment.Rd
stplanr/man/weightfield.Rd
stplanr/man/calc_catchment.Rd
stplanr/man/gtfs2sldf.Rd
stplanr/man/line_midpoint.Rd
stplanr/man/gprojected.Rd
stplanr/man/read_stats19_ac.Rd
stplanr/man/flow_dests.Rd
stplanr/man/od_id_order.Rd
stplanr/man/viaroute2sldf.Rd
stplanr/man/line2points.Rd
stplanr/man/onewayid.Rd
stplanr/man/crs_select_aeq.Rd
stplanr/man/flowlines.Rd
stplanr/man/lineLabels.Rd
stplanr/man/is_linepoint.Rd
stplanr/man/summary-SpatialLinesNetwork-method.Rd
stplanr/man/onewaygeo.Rd
stplanr/man/od2odf.Rd
stplanr/man/plot-SpatialLinesNetwork-ANY-method.Rd
stplanr/man/bb2poly.Rd
stplanr/man/read_stats19_ca.Rd
stplanr/man/nearest_cyclestreets.Rd
stplanr/man/overline.Rd
stplanr/man/toptail_buff.Rd
stplanr/man/gclip.Rd
stplanr/man/toptail.Rd
stplanr/man/destination_zones.Rd
stplanr/man/line_length.Rd
stplanr/man/toptailgs.Rd
stplanr/man/routes_fast.Rd
stplanr/man/cents.Rd
stplanr/man/line_segment.Rd
stplanr/man/viaroute.Rd
stplanr/man/n_vertices.Rd
stplanr/man/table2matrix.Rd
stplanr/man/points2flow.Rd
stplanr/man/od2line.Rd
stplanr/man/mapshape_available.Rd
stplanr/man/decode_gl.Rd
stplanr/man/od_radiation.Rd
stplanr/LICENSE