[GraphHopper - R] route with multiple via points


I’m new to GraphHopper and R, and I am stuck with a problem.

I need to create a route in R, and I have a start point, multiple via points and an endpoint. The difficult part is that I need to work with a large dataset.
[A very simplified version of the dataset]

While I have a single starting point (depot), there are multiple booking ids each day, each booking id containing multiple drop-off points and the booking id is used multiple times on different days.

What I need is basically to obtain a route for each booking id per day, but without manually inputting the coordinates.
Your help would be much appreciated!

Powered by Discourse