Skip to content

Manipulate and Map Origin-Destination Data

3packages dependsuggested by 1
17.8Kdownloads / year
13.8%test coverage
13/13flavors OK

Overview

About

The aim of 'od' is to provide tools and example datasets for working with origin-destination ('OD') datasets of the type used to describe aggregate urban mobility patterns (Carey et al. 1981) doi:10.1287/trsc.15.1.32. The package builds on functions for working with 'OD' data in the package 'stplanr', (Lovelace and Ellison 2018) doi:10.32614/RJ-2018-053 with a focus on computational efficiency and support for the 'sf' class system (Pebesma 2018) doi:10.32614/RJ-2018-009. With few dependencies and a simple class system based on data frames, the package is intended to facilitate efficient analysis of 'OD' datasets and to provide a place for developing new functions. The package enables the creation and analysis of geographic entities representing large scale mobility patterns, from daily travel between zones in cities to migration between countries.

Changes in 0.5.1
  • Bug fix that was causing incorrect column names (#50)

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.5.1
READMEYes · 506 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.5.1Citation fileNoWebsiteYes · pkgdown
Description cites an R Journal article
Help pages
30
Examples that run
97%28 run in a plain check · 1 never run
Exported functions with examples
100%
Documented parameters
98%
Return-value docs
26%
Help pages citing references
0%
Vignettes (1)

Downloads

17.8K
CRAN downloads in the past year
Rank #3,696 · ~49/day · ~1.5K/mo
Daily download trend is not available in this view yet.
94230 days
2.6K90 days
17.8K1 year
Compare downloads with other packages →
Also on315 r2u2 autocran40 c2d4u

Repository

34Stars
4Forks
8Open issues
1Open PRs
9Releases
267Commits
4Commit identities
License file reads as GPL-3.0 · 267 commits · Last activity 2025-10-09 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
1
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-07-10 · 332026-09-02 · 34
PracticesBeta

16 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/itsleeds/od on 2026-10-18.

Continuous integration (3)
GitHub ActionsR CMD check workflowtic

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (4)
Code of conductContributing guideIssue templatesSupport guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-10-09 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 3 practices
Reproducibility and dev environment (2)
data-raw/Binder
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing od adds 8 packages (7 with compiled code, 4.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, vctrs 1.0 MB, rlang 766 KB.

Depends (1)
R >= 3.4.0
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
2indirect
Imports 3
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (3)
Author, Maintainer since 0.0.1 (2020)
Author · added in 0.5.1
Contributor
Releases (11)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.1Latest
    record
    2024-08-21 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.4.4
    record
    2024-03-10 · diff ↗
  • 0.4.3
    record
    2023-11-15 · diff ↗
  • 0.4.2
    record
    2023-10-01 · diff ↗ ·
    added 1 export
    od_coordinates_ids
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.4.0
    record
    2022-04-18 · diff ↗
  • 0.3.1
    record
    2021-07-11 · diff ↗
  • 0.3.0
    record
    2021-07-10 · diff ↗ ·
    added 1 export
    od_jitter
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.1
    record
    2021-04-22 · diff ↗
  • 0.2.0
    record
    2021-03-29 · diff ↗ ·
    added 3 exports
    od_aggregate, od_group, od_split
  • 0.1.0
    record
    2021-02-10 · diff ↗ ·
    removed 1 export
    od_to_sf_network
    added 2 exports
    od_disaggregate, od_to_network
Show 2 earlier eventsHide 2 earlier events
  • 0.0.1
    record
    2020-09-09
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2020-09-09
Total releases
11 / 6 yrs
License
GPL-3 OSI
Minimum R
≥ 3.4.0
Bundled data
307 KB / 14 files
Download size
1.0 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("od")
Lovelace, R., Cooley, D., & Morgan, M. (2024). od: Manipulate and Map Origin-Destination Data (Version 0.5.1) [Computer software]. https://doi.org/10.32614/CRAN.package.od

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for od version 0.5.1 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy