I have table (protention.xlsx) imported with data about the home and office addresses of different people, and I would like to calculate how long does it take for them to arrive at work from home each morning.
My account and Google maps API is set up properly, and I get the expected results with individual addresses, however, when I use a full table of data (few thousand examples) I get the following error message:
library(gmapsdistance) gmapsdistance(origin = protention$addressHome, destination = protention$addressWork, mode = "transit", arr_date = "2020-03-02", arr_time = "09:00:00", combinations = "pairwise", key = "myAPIkey") #> Google API returned an error: You must use an API key to authenticate each request to Google Maps Platform APIs. For additional information, please refer to http://g.co/dev/maps-no-account
Can you please help me if it might be something with my code or the limitation of the package?