The detailed_itineraires function works only for one single origin at a time, and I need to obtain results (actually just the distances) for a large number of origins. I wasn't successful on automating the function using "for", because at every new loop the output overwrites the last one... Any suggestions on how can I change the "det" for every new loop?
for (i in 1:10) {
det <- detailed_itineraries(r5r_core = r5r_core,
origins = origins[i,],
destinations = destinations,
mode = mode,
departure_datetime = departure_datetime,
max_walk_dist = max_walk_dist,
max_trip_duration = max_trip_duration,
shortest_path = FALSE)
}
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4