stplanr-package |
*stplanr: Sustainable Transport Planning with R* |
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' spatial data |
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 using network. |
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 |
dist_google |
Return travel network distances and time using the Google Maps API |
dl_stats19 |
Download Stats19 data |
find_network_nodes |
Find graph node ID of closest node to given coordinates |
flow |
data frame of commuter flows |
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 (or matrix) b |
gsection |
Function to split overlapping SpatialLines into segments |
gtfs2sldf |
Import GTFS shapes and route data to SpatialLinesDataFrame. |
islines |
Do the intersections between two geometries create lines? |
is_linepoint |
Identify lines that are points |
line2df |
Convert straight SpatialLinesDataFrame to a data.frame with from and to coords |
line2points |
Convert a SpatialLinesDataFrame to points at the origin and destination |
line2route |
Convert straight SpatialLinesDataFrame from flow data into routes |
lineLabels |
Label SpatialLinesDataFrame objects |
locate2spdf |
Return SpatialPointsDataFrame with located points from OSRM locate service |
mapshape |
Simplify geometry of spatial objects with the mapshaper library |
mapshape_available |
Does the computer have mapshaper available? |
nearest2spdf |
Return SpatialPointsDataFrame with nearest street from OSRM nearest service |
nearest_cyclestreets |
Generate nearest point on the route network of a point using the CycleStreets.net |
nearest_google |
Generate nearest point on the route network of a point using the Google Maps API |
nearest_osm |
Generate nearest point on the route network of a point from OSRM locate service |
n_vertices |
Retrieve the number of vertices from a SpatialLines or SpatialPolygons object |
od2line |
Convert flow data to SpatialLinesDataFrame |
od_radiation |
Function that estimates flow between points or zones using the radiation model |
onewaygeo |
Aggregate flows so they become non-directional (by geometry - the slow way) |
onewayid |
Aggregate flows so they become non-directional (by id - the faster way) |
overline |
Convert series of overlapping lines into a route network |
plot-method |
Plot a SpatialLinesNetwork |
points2flow |
Convert a series of points into geographical flows |
points2odf |
Convert a series of points into a dataframe of origins and destinations |
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) TableBuilder files |
routes_fast |
SpatialLinesDataFrame of commuter flows on the travel network |
routes_slow |
SpatialLinesDataFrame of commuter flows on the travel network |
route_cyclestreet |
Plan a single route with CycleStreets.net |
route_graphhopper |
Plan a route with the graphhopper routing engine |
route_transportapi_public |
Plan a single route with TransportAPI.com |
SpatialLinesNetwork |
Create object of class SpatialLinesNetwork from SpatialLinesDataFrame |
SpatialLinesNetwork-class |
An S4 class representing a (typically) transport network |
stplanr |
*stplanr: Sustainable Transport Planning with R* |
summary-method |
Print a summary of a SpatialLinesNetwork |
sum_network_routes |
Summarise shortest path between nodes on network |
table2matrix |
Return SpatialPointsDataFrame with nearest street from OSRM nearest service |
toptail |
Clip the first and last n metres of SpatialLines |
toptailgs |
Clip the first and last n metres of SpatialLines |
toptail_buff |
Clip the beginning and ends SpatialLines to the edge of SpatialPolygon borders |
update_line_geometry |
Update line geometry |
viaroute |
Query OSRM service and return json string result |
viaroute2sldf |
Convert json result of OSRM routing query to SpatialLinesDataFrame |
weightfield |
Get or set weight field in SpatialLinesNetwork |
weightfield-method |
Get or set weight field in SpatialLinesNetwork |
weightfield<- |
Get or set weight field in SpatialLinesNetwork |
weightfield<--method |
Get or set weight field in SpatialLinesNetwork |
writeGeoJSON |
Write to geojson easily |
zones |
SpatialPolygonsDataFrame of home locations for flow analysis. |