Displaying 1 result from an estimated 1 matches for "dogondoutchi".
2012 Oct 23
1
Extracting results from Google Search
...ve and give a nicely formatted Google
output (try Ingall Niger coordinates for an example). I would like to launch
a loop on the list of names I have and automatically extract the coordinates
given by Google. Does anyone knows how it can be done?
ex.
DB<-data.frame(town=c('Ingall', 'Dogondoutchi', 'Tera'),
country=rep('Niger',3))
# Get lat and lon from the Google search on :
for (i in 1:3) {
paste(DB$town[i], DB$country[i], 'coordinates', sep="")
}
Many thanks!
Eduardo.
--
View this message in context: http://r.789695.n4.nabble.com/Ext...