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
- Host: GitHub
- URL: https://github.com/robinlovelace/router
- Owner: Robinlovelace
- License: other
- Created: 2020-01-24T22:10:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-05T09:24:19.000Z (almost 2 years ago)
- Last Synced: 2025-04-03T16:12:21.774Z (about 2 months ago)
- Language: R
- Size: 109 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
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
[](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
```