openrouteservice-r

:globe_with_meridians: query openrouteservice API from R

https://github.com/giscience/openrouteservice-r

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.9%) to scientific vocabulary

Keywords

api directions gis giscience isochrones openrouteservice openstreetmap pois r routing sdk
Last synced: 6 months ago · JSON representation

Repository

:globe_with_meridians: query openrouteservice API from R

Basic Info
Statistics
  • Stars: 108
  • Watchers: 17
  • Forks: 23
  • Open Issues: 23
  • Releases: 1
Topics
api directions gis giscience isochrones openrouteservice openstreetmap pois r routing sdk
Created almost 8 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog

README.Rmd

---
output: rmarkdown::md_document
---




[![R-CMD-check](https://github.com/GIScience/openrouteservice-r/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/GIScience/openrouteservice-r/actions/workflows/R-CMD-check.yaml)
[![Coverage Status](https://img.shields.io/codecov/c/github/GIScience/openrouteservice-r/master.svg)](https://app.codecov.io/github/GIScience/openrouteservice-r?branch=master)
[![lifecycle](https://lifecycle.r-lib.org/articles/figures/lifecycle-stable.svg)](https://lifecycle.r-lib.org/articles/stages.html#stable)
[![CRAN checks](https://badges.cranchecks.info/summary/openrouteservice.svg)](https://cran.r-project.org/web/checks/check_results_openrouteservice.html)
[![CRAN release](https://www.r-pkg.org/badges/version-ago/openrouteservice)](https://cran.r-project.org/package=openrouteservice)
[![CRAN downloads](https://cranlogs.r-pkg.org:443/badges/openrouteservice)](https://cran.r-project.org/package=openrouteservice)


# openrouteservice R client

```{r readme, echo = FALSE, results = 'asis'}
lines = readLines("vignettes/openrouteservice.Rmd")
ids = grep("", lines) + c(1, -1)
readme = lines[do.call(":", as.list(ids))]
readme = gsub("^#(#+)(.*)", "\\1\\2", readme)
cat(knitr::knit_child(text=readme, quiet=TRUE))
```

## Get started

See the package
[vignette](https://giscience.github.io/openrouteservice-r/articles/openrouteservice.html)
for an overview of the offered functionality.

## Local ORS instance

The default is to fire any requests against the free public services at
. In order to query a different openrouteservice
instance, say a local one, set

```{r openrouteservice.url, eval=FALSE}
options(openrouteservice.url = "http://localhost:8082/ors")
```

If necessary, endpoint configuration can be further customized through
`openrouteservice.paths` which specifies a named list of paths. The defaults are
equivalent of having

```{r openrouteservice.paths, echo=FALSE, comment=NA}
opts_str <- "options(openrouteservice.paths = %s)"
nch <- nchar(opts_str) + 1L
ors_paths <- unlist(strsplit(deparse(openrouteservice:::ors_path(), 500L), ","))
indent <- paste0(rep(" ", nch), collapse="")
cat(sprintf(opts_str, paste0(ors_paths, collapse = paste(",", indent, sep="\n"))))
options(openrouteservice.path = list(directions = "v2/directions"))
```

## Package news

```{r news, echo = FALSE, results = 'asis'}
lines = readLines("NEWS.md")
lines = gsub("^# openrouteservice (.*)", "# version \\1", lines)
versions = grep("^# ", lines)
## select only n latest news
n = 4
from = 1
to = if (length(versions) > n) versions[n+1]-1 else length(lines)
news = lines[from:to]
news = gsub("^(#+)(.*)", "##\\1\\2", news)
cat(paste(news, collapse = "\n"))
```

## Publications using openrouteservice R package

Please feel free to reach out if you would like to have your work added to the list below.

```{r references, echo = FALSE, results = 'asis'}
lines = readLines("references.md")
lines = gsub('^', '', lines)
lines = gsub('^', '', lines)
lines = gsub(' $', '', lines)
cat(paste(lines, collapse = "\n"))
```

Owner

  • Name: GIScience Research Group and HeiGIT
  • Login: GIScience
  • Kind: organization
  • Location: Heidelberg, Germany

🌍 HeiGIT and GIScience at Heidelberg University are engaged in research and opensource development at the interface between geography and computational science

GitHub Events

Total
  • Issues event: 2
  • Watch event: 9
  • Delete event: 3
  • Issue comment event: 1
  • Push event: 18
  • Pull request event: 1
  • Fork event: 1
Last Year
  • Issues event: 2
  • Watch event: 9
  • Delete event: 3
  • Issue comment event: 1
  • Push event: 18
  • Pull request event: 1
  • Fork event: 1

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 158
  • Total Committers: 5
  • Avg Commits per committer: 31.6
  • Development Distribution Score (DDS): 0.032
Past Year
  • Commits: 23
  • Committers: 1
  • Avg Commits per committer: 23.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
aoles a****s@g****m 153
Martin Raifer t****d@g****m 2
Patrick Hausmann p****n@c****e 1
Heidi Seibold h****i@s****o 1
Amandus a****r@g****e 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 77
  • Total pull requests: 9
  • Average time to close issues: 3 months
  • Average time to close pull requests: 8 days
  • Total issue authors: 24
  • Total pull request authors: 5
  • Average comments per issue: 1.56
  • Average comments per pull request: 1.11
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 4
  • Pull requests: 3
  • Average time to close issues: 18 days
  • Average time to close pull requests: 9 days
  • Issue authors: 3
  • Pull request authors: 1
  • Average comments per issue: 1.25
  • Average comments per pull request: 0.33
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • aoles (45)
  • nilsnolde (5)
  • viajerus (2)
  • patperu (2)
  • pascalgulikers (2)
  • chalioui (2)
  • fischert00 (2)
  • Valexandre (1)
  • EricKrg (1)
  • Robinlovelace (1)
  • mawds (1)
  • elliec (1)
  • etiennekintzler (1)
  • JimShady (1)
  • HeidiSeibold (1)
Pull Request Authors
  • aoles (8)
  • HeidiSeibold (1)
  • Robinlovelace (1)
  • patperu (1)
  • FlorianEndel (1)
Top Labels
Issue Labels
:bulb: enhancement (31) :bookmark_tabs: documentation (10) :beetle: bug (8) :wrench: infrastructure (8) :warning: (7) :mag_right: investigate (5) question (3) invalid (2)
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads:
    • cran 333 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 0
    (may contain duplicates)
  • Total versions: 5
  • Total maintainers: 1
proxy.golang.org: github.com/GIScience/openrouteservice-r
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.7%
Last synced: 6 months ago
proxy.golang.org: github.com/giscience/openrouteservice-r
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.7%
Last synced: 6 months ago
cran.r-project.org: openrouteservice

An 'openrouteservice' API Client

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 333 Last month
Rankings
Dependent packages count: 28.0%
Dependent repos count: 34.6%
Average: 49.8%
Downloads: 86.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml actions
  • JamesIves/github-pages-deploy-action v4.4.1 composite
  • actions/checkout v3 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION cran
  • V8 * imports
  • geojsonsf * imports
  • httr * imports
  • jsonlite * imports
  • jsonvalidate * imports
  • keyring * imports
  • leaflet * imports
  • utils * imports
  • xml2 * imports
  • RColorBrewer * suggests
  • covr * suggests
  • ggforce * suggests
  • ggplot2 * suggests
  • googlePolylines * suggests
  • knitr * suggests
  • lwgeom * suggests
  • mapview * suggests
  • pkgdown * suggests
  • rmarkdown * suggests
  • roxygen2 * suggests
  • sf * suggests
  • testthat * suggests
  • units * suggests
.github/workflows/rhub.yaml actions
  • r-hub/actions/checkout v1 composite
  • r-hub/actions/platform-info v1 composite
  • r-hub/actions/run-check v1 composite
  • r-hub/actions/setup v1 composite
  • r-hub/actions/setup-deps v1 composite
  • r-hub/actions/setup-r v1 composite