# Manipulate and Map Origin-Destination Data

## Documentation for package ‘od’ version 0.5.1

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

coords_to_od | Convert coordinates into a data frame of origins and destinations
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
od_aggregate | 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 | Datasets reporesenting zone centroids
od_data_centroids2 | Output area centroids
od_data_coordinates | Datasets reporesenting zone centroids
od_data_csa_zones | Example OD data
od_data_destinations | Workplace zone (destination) centroids
od_data_df | Origin-destination datasets
od_data_df2 | Origin-destination data with destinations in a different layer than origins
od_data_df_medium | Origin-destination datasets
od_data_network | Route network data for Leeds
od_data_zones | Example OD data
od_data_zones_min | Example OD data
od_data_zones_small | Small zones dataset
od_disaggregate | Split-up each OD pair into multiple OD pairs based on subpoints/subzones
od_filter | Filter OD datasets
od_group | Aggregate od pairs based on aggregating zones
od_id | Combine two ID values to create a single ID number
od_id_character | Combine two ID values to create a single ID number
od_id_max_min | 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_id_szudzik | Combine two ID values to create a single ID number
od_interzone | Return only interzonal (io intrazonal) OD pairs
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_split | Split-up each OD pair into multiple OD pairs based on subpoints/subzones
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 | Convert OD data into geographic 'desire line' objects
od_to_sfc | Convert OD data into geographic 'desire line' objects
points_to_od | Convert a series of points into a dataframe of origins and destinations
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