List of available modes of transport.
ors_profile(
mode = c("car", "hgv", "bike", "roadbike", "mtb", "e-bike", "walking", "hiking",
"wheelchair")
)
Profile name, or named vector of available profiles.
Convenience function for specifying the profile in ors_directions()
,
ors_isochrones()
and ors_matrix()
.
# list availbale profiles
ors_profile()
#> car hgv bike roadbike
#> "driving-car" "driving-hgv" "cycling-regular" "cycling-road"
#> mtb e-bike walking hiking
#> "cycling-mountain" "cycling-electric" "foot-walking" "foot-hiking"
#> wheelchair
#> "wheelchair"
# retrieve full profile name based on label
ors_profile("car")
#> [1] "driving-car"