openrouteservice R package provides easy access to the openrouteservice (ORS) API from R. It allows you to painlessly consume the following services:
By using this package, you agree to the ORS terms and conditions.
The package is not yet available from CRAN, but you can install the development version directly from GitHub.
See the package vignette for an overview of the offered functionality.
The default is to fire any requests against the free public services at <api.openrouteservice.org>. In order to query a different openrouteservice instance, say a local one, set
If necessary, endpoint configuration can be further customized through openrouteservice.paths
which specifies a named list of paths. The defaults are equivalent of having