I'm using the ggmap's geocode to find the latitude and longitude of different cities. It worked completely fine yesterday but I get an OVER QUERY LIMIT after only one request today.
In fact if I just load the library and run geocode it throws the OVER QUERY LIMIT error:
> library(ggmap)
> geocode("Paris")
Information from URL : http://maps.googleapis.com/maps/api/geocode/json?address=Paris&sensor=false
lon lat
1 NA NA
Warning message:
geocode failed with status OVER_QUERY_LIMIT, location = "Paris"
I checked different topics on stackoverflow but nobody seems to have the same problem. I tried to see if I was over the 2500 limit (very unlikely but I'm new to coding so maybe I did something wrong...) and geocodeQueryCheck() reads 2498 but then again it resets every time I run library(ggmap).
It worked once fifteen minutes ago when I rebooted Rstudio but now it doesn't work anymore, I'm completely lost!
Does anyone have any idea what might be the problem?
PS: I'm new to stackoverflow so if you have any remark on anything please tell me!
geocodeQueryCheck()
just returns an internal counter and not the real number of queries you are left. See here also: developers.google.com/maps/documentation/geocoding/… – Tunesmith