Skip to content

An R Wrapper for the 'OpenTripPlanner' REST API

0packages depend
2.6Kdownloads / year
0.0%test coverage
0/13flavors OK

Overview

About

A wrapper for the 'OpenTripPlanner' http://www.opentripplanner.org/ REST API. Queries are submitted to the relevant 'OpenTripPlanner' API resource, the response is parsed and useful R objects are returned.

Changes in 0.5.1

Bug fixes

  • Check that API call to evaluate surface actually returns some results. If not return error message - most likely cause is that the pointset coordinates are not within the area covered by the surface (e.g. could be the wrong pointset specified or latitude and longitude are the wrong way around).

From NEWS.md in the release

Install

Health

CRAN checks
13NOTE
Check messages
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) otp_create_surface.Rd:33: Lost braces; missing escapes or markup?
    33 | The file will be named surface_{id}.tiff, with {id} replaced by the OTP id assigned
       |                                ^
checkRd: (-1) otp_create_surface.Rd:33: Lost braces; missing escapes or markup?
    33 | The file will be named surface_{id}.tiff, with {id} replaced by the OTP id assigned
       |                                                ^
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Marcus Young <M.A.Young@soton.ac.uk>’

Package CITATION file contains call(s) to old-style citEntry().  Please
use bibentry() instead.

CRAN check page ↗

Slowest check: 1.3 min · r-oldrel-windows-x86_64
Status changes
  • NOTE13 NOTE2026-06-09
  • ERROR12 NOTE, 1 ERROR2026-06-08
  • NOTE14 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.5.1
READMEYes · 2,177 wordsVignettesNoNEWSYes · 100% structured · mentions 0.5.1Citation fileYes · software entry onlyWebsitenot declared in DESCRIPTION
Help pages
12 (6 internal)
Examples that run
0%6 never run
Exported functions with examples
100%
Documented parameters
94%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.6K
CRAN downloads in the past year
Rank #17,847 · ~7/day · ~219/mo
Daily download trend is not available in this view yet.
30630 days
71890 days
2.6K1 year
Compare downloads with other packages →
Also on73 r2u5 autocran

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing otpr adds 51 packages (37 with compiled code, 41 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, s2 2.8 MB.

Depends (0)
none
LinkingTo (0)
none
Suggests (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.0 (2019)
Releases (8)

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
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.5.1Latest
    record
    2022-01-07 · current release · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.5.0
    record
    2021-01-04 · diff ↗ ·
    added 2 exports
    otp_create_surface, otp_evaluate_surface
  • 0.4.2
    record
    2020-10-01 · diff ↗
  • 0.4.1
    record
    2020-05-28 · diff ↗
  • 0.4.0
    record
    2020-05-01 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 0.3.0
    record
    2020-01-31 · diff ↗
  • 0.2.0
    record
    2019-08-29 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.1.0
    record
    2019-03-31
Show 1 earlier eventHide 1 earlier event
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2019-03-31
Total releases
8 / 7 yrs
License
MIT + file LICENSE OSI
Download size
668 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("otpr")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.5281/zenodo.4065250.

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 otpr 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