Sustainable Transport Planning

angle_diff | Calculate the angular difference between lines and a... |

api_pat | Retrieve personal access token. |

as_sf_fun | Convert functions support sf/sp |

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 | Spatial points representing home locations |

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 | spatial lines dataset 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... |

geo_bb | Flexible function to generate bounding boxes |

geo_bb_matrix | Create matrix representing the spatial bounds of an object |

geo_buffer | Perform a buffer operation on a temporary projected CRS |

geo_code | Convert text strings into points on the map |

geo_length | Calculate line length of line with geographic or projected... |

geo_projected | Perform GIS functions on a temporary, projected version of a... |

geo_select_aeq | Select a custom projected CRS for the area of interest |

geo_toptail | Clip the first and last n metres of SpatialLines |

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 geographic line objects to a data.frame with from and... |

line2route | Convert straight OD data (desire lines) into routes |

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_sample | Sample n points along lines with density proportional to a... |

line_segment | Divide SpatialLines dataset into regular segments |

line_to_points | Convert a SpatialLinesDataFrame to points The number of... |

line_via | Add geometry columns representing a route via intermediary... |

locate2spdf | Return SpatialPointsDataFrame with located points from OSRM... |

l_poly | Line polygon |

mapshape | Simplify geometry of spatial objects with the mapshaper... |

mapshape_available | Does the computer have mapshaper available? |

mats2line | Convert 2 matrices to lines |

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_sample_length | Sample integer number from given continuous vector of line... |

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_coords | General function to create a matrix representing origins and... |

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 |

pipe | Pipe operator |

plot-sfNetwork-ANY-method | Plot an sfNetwork |

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 | Plan routes on the transport network |

route_cyclestreet | Plan a single route with CycleStreets.net |

route_graphhopper | Plan a route with the graphhopper routing engine |

route_network | spatial lines dataset representing a route network |

route_osrm | Plan a route with OSRM |

routes_fast | spatial lines dataset of commuter flows on the travel network |

routes_slow | spatial lines dataset of commuter flows on the travel network |

route_transportapi_public | Plan a single route with TransportAPI.com |

sfNetwork-class | An S4 class representing a (typically) transport network |

sln2points | Generate spatial points representing nodes on a... |

sp_aggregate | Aggregate SpatialPolygonsDataFrame to new geometry. |

SpatialLinesNetwork | Create object of class SpatialLinesNetwork or sfNetwork |

SpatialLinesNetwork-class | An S4 class representing a (typically) transport network |

stplanr-package | *stplanr: Sustainable Transport Planning with R* |

summary-sfNetwork-method | Print a summary of a sfNetwork |

summary-SpatialLinesNetwork-method | Print a summary of a SpatialLinesNetwork |

sum_network_links | Summarise links from shortest paths data |

sum_network_routes | Summarise shortest path between nodes on network |

table2matrix | Return Matrix containing travel times between origins and... |

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 | Spatial polygons of home locations for flow analysis. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.