Skip to content

An API wrapper for OpenTripPlanner (OTP) as an R package

Notifications You must be signed in to change notification settings

Raphbub/opentripplanner

 
 

Repository files navigation

Travis build status

Open Trip Planner for R

The goal of Open Trip Planner for R is to provide a simple R interface to Open Trip Planner (OTP).

Installation - Open Trip Planner

To use Open Trip Planner for R you will need a running instance of OTP. A basic tutorial on setting up OTP is available at http://docs.opentripplanner.org/en/latest/Basic-Tutorial/, and an intermediate tutorial complete with sample data is available at https://github.com/marcusyoung/otp-tutorial.

Instructons for installing OTP on Linux can be found in the getting-started vignette.

Installation - R Package

Install the package with devtools as follows:

# install.packages("devtools")
devtools::install_github("marcusyoung/opentripplanner")

Tests

Tests only run on machines that have the environment variable I_have_OTP with the value TRUE. You can add this with usethis::edit_r_environ().

Sys.getenv("I_have_OTP")
#> [1] ""

About

An API wrapper for OpenTripPlanner (OTP) as an R package

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • R 100.0%