- origin
sf
object, the origin locations (M) of geometry type POINT
.
- destination
sf
object, the destination locations (N) of geometry type POINT
.
- datetime
POSIXct
object, datetime for the departure.
- routing_mode
character, set the routing type: "fast"
or "short"
(default = "fast"
).
- transport_mode
character, set the transport mode: "car"
, "truck"
, "pedestrian"
, "bicycle"
, "scooter"
, "taxi"
, "bus"
or "privateBus"
(default = "car"
).
- traffic
boolean, use real-time traffic or prediction in routing (default = TRUE
)? If no traffic is selected, the datetime
is set to "any"
and the request is processed independently from time.
- url_only
boolean, only return the generated URLs (default = FALSE
)?