munterfi / hereR

R package that provides an interface to the HERE REST APIs: Geocoder API, Routing API, Traffic API, Public Transit API and Destination Weather API. Locations and routes are returned as 'sf' objects.
https://munterfi.github.io/hereR/
GNU General Public License v3.0
89 stars 11 forks source link

Feature: Add support for optimizeFor isoline parameters #119

Closed hrecht closed 3 years ago

hrecht commented 3 years ago

Description It would be very helpful if the isoline function supported all of the API parameters, including optimizeFor.

Or if that can already be used, how do we include it? Thanks for this great package!

munterfi commented 3 years ago

Hi, thanks for reporting and the positive feedback on the package.

Can you test with remotes::install_github("munterfinger/hereR@feature/isoline-optimize")?

q <- isoline(..., optimize = "quality")
p <- isoline(..., optimize = "performance")
b <- isoline(..., optimize = "balanced")
hrecht commented 3 years ago

This seems to be working. Thank you!!