Displaying 1 result from an estimated 1 matches for "ampelokipi".
2012 Nov 25
1
Issue with using geocode
Hello,
A very simple question but I am stuck. I have an excel file each row is an
address. However, I cannot make geocode read each line and come up with the
latitude longitude. Could you please correct my code?
library(ggmap)
X<-c (2 Afxentiou Ampelokipi Thessaloniki Greece, 2 Afxentiou Ampelokipi
Thessaloniki Greece, 4 Afxentiou Ampelokipi Thessaloniki Greece, 55
Agathonos Ampelokipi Thessaloniki Greece)
For (i in 1:4){
Y<-geocode('X')
print Y[i]
}
Best wishes,
Ioanna
[[alternative HTML version deleted]]