Open chrisluedtke opened 7 years ago
It seems arrival_time is not being passed in to the url being constructed:
url = paste0("maps.googleapis.com/maps/api/distancematrix/xml?origins=", data$or[i], "&destinations=", data$de[i], "&mode=", mode, "&sensor=", "false", "&units=metric", "&departure_time=", seconds, "&traffic_model=", traffic_model, avoidmsg)
True. #37 -- you are already working on it ;)
It seems arrival_time is not being passed in to the url being constructed:
url = paste0("maps.googleapis.com/maps/api/distancematrix/xml?origins=", data$or[i], "&destinations=", data$de[i], "&mode=", mode, "&sensor=", "false", "&units=metric", "&departure_time=", seconds, "&traffic_model=", traffic_model, avoidmsg)