RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
There's a newer version (1.1.2) of this package.
Take me there.
stplanr (version 0.1.1)
Sustainable Transport Planning
Description
Functionality and data access tools for transport planning, including origin-destination analysis, route allocation and modelling travel patterns.
Copy Link
Copy
Link to current version
Version
Version
1.1.2
1.0.2
1.0.1
1.0.0
0.9.0
0.8.7
0.8.6
0.8.5
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.2
0.7.1
0.7.0
0.6.2
0.6.1
0.6.0
0.5.2
0.5.1
0.5.0
0.4.1
0.4.0
0.3.1
0.3.0
0.2.10
0.2.9
0.2.8
0.2.7
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.1.9
0.1.8
0.1.7-3
0.1.7-2
0.1.7-1
0.1.7
0.1.6
0.1.5
0.1.4
0.1.2
0.1.1
0.1.0
0.0.2
Down Chevron
Install
install.packages('stplanr')
Monthly Downloads
1,365
Version
0.1.1
License
MIT + file LICENSE
Issues
24
Pull Requests
2
Stars
411
Forks
69
Repository
https://github.com/ropensci/stplanr
Maintainer
Robin Lovelace
Last Published
January 16th, 2016
Functions in stplanr (0.1.1)
Search functions
calc_catchment_sum
Calculate summary statistics for catchment area.
dl_stats19
Download Stats19 data
graphhopper_pat
Retrieve personal access token.
find_network_nodes
Find graph node ID of closest node to given coordinates
gclip
Crops spatial object x to the bounding box of spatial object (or matrix) b
onewayid
Aggregate flows so they become non-directional (by id - the faster way)
SpatialLinesNetwork
Create object of class SpatialLinesNetwork from SpatialLinesDataFrame
toptail_buff
Clip the beginning and ends SpatialLines to the edge of SpatialPolygon borders
gsection
Function to split overlapping SpatialLines into segments
line2points
Convert a SpatialLinesDataFrame to points at the origin and destination
gtfs2sldf
Import GTFS shapes and route data to SpatialLinesDataFrame.
locate2spdf
Return SpatialPointsDataFrame with located points from OSRM locate service
read_stats19_ac
Import and format UK 'Stats19' road traffic casualty data
routes_slow
SpatialLinesDataFrame of commuter flows on the travel network
overline
Convert series of overlapping lines into a route network
islines
Do the intersections between two geometries create lines?
read_table_builder
Import and format Australian Bureau of Statistics (ABS) TableBuilder files
zones
SpatialPolygonsDataFrame of home locations for flow analysis.
read_stats19_ca
Import and format UK 'Stats19' road traffic casualty data
od2line
Convert flow data to SpatialLinesDataFrame
viaroute
Query OSRM service and return json string result
calc_moving_catchment
Calculate summary statistics for all features independently.
stplanr-package
stplanr: Sustainable Transport Planning with R
line2route
Convert straight SpatialLinesDataFrame from flow data into routes
summary,SpatialLinesNetwork-method
Print a summary of a SpatialLinesNetwork
format_stats19_ac
Format UK 'Stats19' road traffic casualty data
plot,SpatialLinesNetwork,ANY-method
Plot a SpatialLinesNetwork
bbox_scale
Scale a bounding box
writeGeoJSON
Write to geojson easily
crs_select_aeq
Select a custom projected CRS for the area of interest
buff_geo
Create a buffer of n metres for non-projected 'geographical' spatial data
flow
data frame of commuter flows
onewaygeo
Aggregate flows so they become non-directional (by geometry - the slow way)
weightfield
Get or set weight field in SpatialLinesNetwork
lineLabels
Label SpatialLinesDataFrame objects
mapshape_available
Does the computer have mapshaper available?
nearest2spdf
Return SpatialPointsDataFrame with nearest street from OSRM nearest service
decode_gl
Decode Google polyline compressed string
format_stats19_ve
Format UK 'Stats19' road traffic casualty data
routes_fast
SpatialLinesDataFrame of commuter flows on the travel network
mapshape
Simplify geometry of spatial objects with the mapshaper library
toptailgs
Clip the first and last n metres of SpatialLines
route_cyclestreet
Plan a single route with CycleStreets.net
format_stats19_ca
Format UK 'Stats19' road traffic casualty data
table2matrix
Return SpatialPointsDataFrame with nearest street from OSRM nearest service
calc_catchment
Calculate catchment area and associated summary statistics.
cents
SpatialPointsDataFrame of home locations for flow analysis.
read_stats19_ve
Import and format UK 'Stats19' road traffic casualty data
route_graphhopper
Plan a route with the graphhopper routing engine
flowlines
SpatialLinesDataFrame of commuter flows
sum_network_routes
Summarise shortest path between nodes on network
viaroute2sldf
Convert json result of OSRM routing query to SpatialLinesDataFrame
line2df
Convert straight SpatialLinesDataFrame to a data.frame with from and to coords
cyclestreet_pat
Retrieve personal access token.
calc_network_catchment
Calculate catchment area and associated summary statistics using network.
SpatialLinesNetwork-class
An S4 class representing a (typically) transport network
toptail
Clip the first and last n metres of SpatialLines