All functions

coords_to_od()

Convert coordinates into a data frame of origins and destinations

od_aggregate() od_group()

Aggregate od pairs based on aggregating zones

od_coordinates()

Create matrices representing origin-destination coordinates

od_coordinates_ids()

Interleave origin and destination coordinates

od_data_buildings

Simple buildings dataset

od_data_centroids od_data_coordinates

Datasets reporesenting zone centroids

od_data_centroids2

Output area centroids

od_data_destinations

Workplace zone (destination) centroids

od_data_df od_data_df_medium

Origin-destination datasets

od_data_df2

Origin-destination data with destinations in a different layer than origins

od_data_network

Route network data for Leeds

od_data_zones od_data_csa_zones od_data_zones_min

Example OD data

od_data_zones_small

Small zones dataset

od_disaggregate() od_split()

Split-up each OD pair into multiple OD pairs based on subpoints/subzones

od_filter()

Filter OD datasets

od_id_szudzik() od_id_max_min() od_id_character()

Combine two ID values to create a single ID number

od_id_order()

Generate ordered ids of OD pairs so lowest is always first This function is slow on large datasets, see szudzik_pairing for faster alternative

od_interzone() od_intrazone()

Return only interzonal (io intrazonal) OD pairs

od_jitter()

Move desire line end points within zone to avoid all trips going to a single centroid

od_oneway()

Aggregate OD pairs they become non-directional

od_road_network

Simple road network dataset

od_sample_vertices()

Create a subsample of points from a route network for jittering

od_to_network()

Convert OD data into lines with start and end points sampled on a network

od_to_odmatrix()

Convert origin-destination data from long to wide format

od_to_sf() od_to_sfc()

Convert OD data into geographic 'desire line' objects

odc_to_sf()

Convert origin-destination coordinates into geographic desire lines

odc_to_sfc()

Convert origin-destination coordinates into geographic desire lines

odmatrix_to_od()

Convert origin-destination data from wide to long format

points_to_od() points_to_odl()

Convert a series of points into a dataframe of origins and destinations

sfc_point_to_matrix()

Extract coordinates from sfc objects with point geometry