我对 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=
我把它粘贴到我的浏览器上,没问题。任何想法?