ggmap中的地理编码无法连接到谷歌地图API(R)

时间:2015-09-11 19:51:09

标签: geocode ggmap

geocode之前为我工作但不是现在。

> install.packages("ggmap")
> library(ggmap)
> geocode('boston ma')
Information from URL : http://www.datasciencetoolkit.org/maps/api/geocode/json?address=boston%20ma&sensor=false
  lon lat
1  NA  NA
Warning messages:
1: In readLines(connect, warn = FALSE) :
  InternetOpenUrl failed: 'The operation timed out'
2: In geocode("boston ma") :   geocoding failed for "boston ma".
  if accompanied by 500 Internal Server Error with using dsk, try google.

我更新了R和ggmap ...有人可以帮忙吗...谢谢 (我不确定它之前是http://www.datasciencetoolkit.org - 它改变了吗?)

0 个答案:

没有答案