An open API service indexing awesome lists of open source software.

https://github.com/robinlovelace/router

Minimal R package for routing with different backends
https://github.com/robinlovelace/router

Last synced: about 1 month ago
JSON representation

Minimal R package for routing with different backends

Awesome Lists containing this project

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```

# router


[![R-CMD-check](https://github.com/Robinlovelace/router/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/Robinlovelace/router/actions/workflows/R-CMD-check.yaml)

The goal of router is to provide a simple way to calculate routes on transport networks.
In the same way that {mlr3} and {parsnip} provide unified interfaces to modelling packages, {router} provides a unified interface to many routing packages.

It was split out from the {stplanr} package.

## Installation

You can install the development version of router from [GitHub](https://github.com/) with:

``` r
# install.packages("devtools")
devtools::install_github("Robinlovelace/router")
```

## Example

This is a basic example which shows you how to solve a common problem:

```{r example}
library(router)
## basic example code
```