{"id":13857824,"url":"https://github.com/ropensci/opentripplanner","last_synced_at":"2025-10-08T01:43:51.652Z","repository":{"id":36701674,"uuid":"153765492","full_name":"ropensci/opentripplanner","owner":"ropensci","description":"An R package to set up and use OpenTripPlanner (OTP) as a local or remote multimodal trip planner.","archived":false,"fork":false,"pushed_at":"2024-12-21T10:53:33.000Z","size":3666,"stargazers_count":86,"open_issues_count":9,"forks_count":21,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-10-07T16:50:30.711Z","etag":null,"topics":["data","isochrones","java","opentripplanner","otp","public-transport","r","routing","transport","transportation-planning"],"latest_commit_sha":null,"homepage":"https://docs.ropensci.org/opentripplanner","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ropensci.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":"codemeta.json","zenodo":null}},"created_at":"2018-10-19T10:22:31.000Z","updated_at":"2025-09-30T17:14:13.000Z","dependencies_parsed_at":"2023-02-17T22:45:32.867Z","dependency_job_id":"ba469c34-3b9c-42cd-b740-5416b08616d4","html_url":"https://github.com/ropensci/opentripplanner","commit_stats":{"total_commits":593,"total_committers":12,"mean_commits":"49.416666666666664","dds":0.1804384485666105,"last_synced_commit":"0ff016df069b7acb755c5264b6c5b2867a99ef19"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/ropensci/opentripplanner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fopentripplanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fopentripplanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fopentripplanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fopentripplanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ropensci","download_url":"https://codeload.github.com/ropensci/opentripplanner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ropensci%2Fopentripplanner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278877093,"owners_count":26061380,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data","isochrones","java","opentripplanner","otp","public-transport","r","routing","transport","transportation-planning"],"created_at":"2024-08-05T03:01:48.019Z","updated_at":"2025-10-08T01:43:51.600Z","avatar_url":"https://github.com/ropensci.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r setup, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# OpenTripPlanner for R \u003ca href='https://itsleeds.github.io/'\u003e\u003cimg src='man/figures/logo.png' align=\"right\" height=180/\u003e\u003c/a\u003e\n\n[![R build status](https://github.com/ropensci/opentripplanner/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/opentripplanner/actions)\n[![codecov](https://codecov.io/gh/ropensci/opentripplanner/branch/master/graph/badge.svg?token=iLEB77PnMk)](https://app.codecov.io/gh/ropensci/opentripplanner) \n[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)\n[![](https://badges.ropensci.org/295_status.svg)](https://github.com/ropensci/software-review/issues/295)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.3558311.svg)](https://doi.org/10.5281/zenodo.3558311)\n[![status](https://joss.theoj.org/papers/10.21105/joss.01926/status.svg)](https://joss.theoj.org/papers/10.21105/joss.01926)\n[![](https://cranlogs.r-pkg.org/badges/grand-total/opentripplanner)](https://cran.r-project.org/package=opentripplanner)\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/opentripplanner)](https://cran.r-project.org/package=opentripplanner)\n\n\n**opentripplanner** is an R package that provides a simple yet flexible interface to [OpenTripPlanner (OTP)](https://www.opentripplanner.org/). OTP is a multimodal trip planning service written in Java. For more information on what OTP is, see the [prerequisites vignette](https://docs.ropensci.org/opentripplanner/articles/prerequisites.html).\n\n**opentripplanner** can be used to interface with a remote instance of OTP (e.g. a website) or help you set up and manage a local version of OTP for private use.  Basic setup and routing functions are outlined in the [getting started vignette](https://docs.ropensci.org/opentripplanner/articles/opentripplanner.html), while advanced functionality such as batch routing, isochrones, and customised setup is described in the [advanced features vignette](https://docs.ropensci.org/opentripplanner/articles/advanced_features.html).\n\n## What's New\n\nThe newest version of the package 0.5.0 (Jan 2023) focuses on increased routing speeds (3-4x faster) and expanding support for OTP v2.2. The new version also drops legacy support for R 3.6, and so now requires R 4.0 or later. See [news](https://docs.ropensci.org/opentripplanner/news/index.html) for more details.\n\n## Installation\n\n### OpenTripPlanner\n\nTo use OpenTripPlanner on your local computer you will need to install Java 8 and download the latest version of OTP. Instructions on installing Java and setting up OTP can be found in the [prerequisites vignette](https://docs.ropensci.org/opentripplanner/articles/prerequisites.html).\n\n### R Package\n\nTo install the stable CRAN version:\n\n```{r installCRAN, eval=FALSE}\ninstall.packages(\"opentripplanner\") # Install Package\nlibrary(opentripplanner)            # Load Package\n```\n\nInstall the development version using **remotes**:\n\n```{r install, eval=FALSE}\n# If you do not already have the remotes package\ninstall.packages(\"remotes\")\n# Install the package from GitHub\nremotes::install_github(\"ropensci/opentripplanner\")\n# Load the package\nlibrary(opentripplanner)\n```\n\n\n## Usage\n\nThe package contains three groups of functions:\n\nFunctions for setting up a local instance of OTP:\n\n1. `otp_dl_jar()`          To download the OTP Jar file;\n1. `otp_dl_demo()`         To download the demo data for the Isle of Wight;\n1. `otp_check_java()`      To check you have the correct version of Java;\n1. `otp_build_graph()`     To make a OTP graph from raw data;\n1. `otp_setup()`           To start up a local instance of OTP;\n1. `otp_make_config()`     To make a config object;\n1. `otp_validate_config()` To validate a config object;\n1. `otp_write_config()`    To save a config object as a json file.\n\nFunctions for connecting to a local or remote instance of OTP:\n\n1. `otp_connect()`      To connect to OTP.\n\nFunctions for retrieving data from OTP:\n\n1. `otp_plan()`              To get routes from A to B;\n1. `otp_geocode()`           To get the locations of named places e.g. road names (OTP 1.x only);\n1. `otp_isochrone()`         To get isochrone maps (OTP 1.x only);\n1. `otp_make_surface()`      To make an analyst surface (OTP 1.x only);\n1. `otp_surface()`           To evaluate a analyst surface (OTP 1.x only);\n1. `otp_traveltime()`        To make a travel time matrix (OTP 1.x only);\n1. `otp_surface_isochrone()` To make a raster isochrone map (OTP 1.x only);\n\nResults are returned as [sf objects](https://CRAN.R-project.org/package=sf).\n\n\n## Acknowledgement\n\nThis package was built off the [tutorial by Marcus Young](https://github.com/marcusyoung/otp-tutorial).\n\n## Contribution\n\nPlease note that the `opentripplanner` project is released with a [Contributor Code of Conduct](https://github.com/ropensci/opentripplanner/blob/master/CODE_OF_CONDUCT.md). By contributing to this project, you agree to abide by its terms. Bug reports and comments are welcome as Github [Issues](https://github.com/ropensci/opentripplanner/issues) and code submissions as [Pull Requests](https://github.com/ropensci/opentripplanner/pulls).\n\n\n## Citation\n\nPlease cite the JOSS paper in publications:\n\nMorgan et al., (2019). OpenTripPlanner for R. Journal of Open Source Software,\n  4(44), 1926, https://doi.org/10.21105/joss.01926\n\n\n\n[![ropensci_footer](https://ropensci.org/public_images/ropensci_footer.png)](https://ropensci.org)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci%2Fopentripplanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fropensci%2Fopentripplanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fropensci%2Fopentripplanner/lists"}