stplanr: Sustainable Transport Planning
Version 0.1.7-3

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

Browse man pages Browse package API and functions Browse package files

AuthorRobin Lovelace [aut, cre], Richard Ellison [aut], Barry Rowlingson [ctb] (Author of overline), Nick Bearman [ctb] (Co-author of gclip), Malcolm Morgan [ctb] (Co-author of angle_diff), Nikolai Berkoff [ctb] (Co-author of line2route)
Date of publication2017-01-06 10:27:40
MaintainerRobin Lovelace <rob00x@gmail.com>
LicenseMIT + file LICENSE
Version0.1.7-3
URL https://github.com/ropensci/stplanr
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("stplanr")

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...
ca_local: SpatialPointsDataFrame representing road traffic deaths
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...
line2routeRetry: 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_match: Match two sets of lines based on similarity
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_aggregate: Aggregate OD data between polygon geometries
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...
quadrant: Split a spatial object into quadrants
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
route_network: SpatialLinesDataFrame representing a route network
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
sln2points: Generate spatial points representing nodes on a...
sp_aggregate: Aggregate SpatialPolygonsDataFrame to new geometry.
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.

Functions

SpatialLinesNetwork Man page Source code
SpatialLinesNetwork-class Man page
angle_diff Man page Source code
api_pat Man page Source code
bb2poly Man page Source code
bbox_scale Man page Source code
buff_geo Man page Source code
ca_local Man page
calc_catchment Man page Source code
calc_catchment_sum Man page Source code
calc_moving_catchment Man page Source code
calc_network_catchment Man page Source code
cents Man page
checkprojs Source code
coord_matches Source code
crs_select_aeq Man page Source code
decode_gl Man page Source code
destination_zones Man page
destinations Man page
dist_google Man page Source code
dl_stats19 Man page Source code
find_network_nodes Man page Source code
flow Man page
flow_dests Man page
flowlines Man page
format_stats19_ac Man page Source code
format_stats19_ca Man page Source code
format_stats19_ve Man page Source code
gclip Man page Source code
getlocnear Source code
gprojected Man page Source code
gsection Man page Source code
gtfs2sldf Man page Source code
is_linepoint Man page Source code
islines Man page Source code
join_spatiallines_coords Source code
line2df Man page Source code
line2points Man page Source code
line2pointsn Man page Source code
line2route Man page Source code
line2routeRetry Man page Source code
lineLabels Man page Source code
line_bearing Man page Source code
line_length Man page Source code
line_match Man page Source code
line_midpoint Man page Source code
line_segment Man page Source code
locate2spdf Man page Source code
mapshape Man page Source code
mapshape_available Man page Source code
n_vertices Man page Source code
nearest2spdf Man page Source code
nearest_cyclestreets Man page Source code
nearest_google Man page Source code
nearest_osm Man page Source code
od2line Man page Source code
od2line2 Man page Source code
od2odf Man page Source code
od_aggregate Man page Source code
od_dist Man page Source code
od_id_order Man page Source code
od_radiation Man page Source code
onewaygeo Man page Source code
onewayid Man page Source code
onewayid.SpatialLines Man page Source code
onewayid.data.frame Man page Source code
overline Man page Source code
plot,SpatialLinesNetwork,ANY-method Man page
points2flow Man page Source code
points2line Man page Source code
points2odf Man page Source code
quadrant Man page Source code
read_stats19_ac Man page Source code
read_stats19_ca Man page Source code
read_stats19_ve Man page Source code
read_table_builder Man page Source code
reproject Man page Source code
route_cyclestreet Man page Source code
route_graphhopper Man page Source code
route_network Man page
route_transportapi_public Man page Source code
routes_fast Man page
routes_slow Man page
sln2points Man page Source code
sp_aggregate Man page Source code
stplanr Man page
stplanr-package Man page
sum_network_routes Man page Source code
summary,SpatialLinesNetwork-method Man page
table2matrix Man page Source code
toptail Man page Source code
toptail_buff Man page Source code
toptailgs Man page Source code
update_line_geometry Man page Source code
viaroute Man page Source code
viaroute2sldf Man page Source code
viaroute2sldf_instruct Source code
viaroute2sldf_instructv5 Source code
weightfield Man page
weightfield,SpatialLinesNetwork-method Man page
weightfield<- Man page
weightfield<-,SpatialLinesNetwork,ANY-method Man page
weightfield<-,SpatialLinesNetwork,character-method Man page
writeGeoJSON Man page Source code
zones Man page

Files

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