我对googleway软件包中的google_geocode函数有问题。刚开始,我只是用一个简单的地址尝试过它:
key <- MyKey
df <- google_geocode(address = "5 Rue J-F Kennedy 8332 Luxembourg",
key = key,
simplify = TRUE)
并收到以下消息:
Error in value[[3L]](cond) :
There was an error downloading results. Please manually check the following URL is valid by entering it into a browswer. If valid, please file a bug report citing this URL (note: your API key has been removed, so you will need to add that back in)
https://maps.googleapis.com/maps/api/geocode/json?&address=5+rue+j-f+kennedy+8332+luxembourg&key=
我将其粘贴到浏览器中,一切正常。有想法吗?