(This article was first published on Rolling Your Rs, and kindly contributed to R-bloggers)
Originally posted on Rolling Your Rs:
In this article I discuss a general approach for Geocoding a location from within R, processing XML reports, and using R packages to create interactive maps. There are various ways to accomplish this, though using Google’s GeoCoding service is a good place to start. We’ll also talk a bit about the XML package that is a very useful tool for parsing reports returned from Google. XML is a powerful markup language that has wide support in many Internet databases so it is helpful. Lastly, we’ll use our knowledge to create a map of the tour dates on the Rolling Stones 1975 Tour of the Americas. Also, when I use the word “GeoCoding” this basically implies the process of taking a geographic location and turning it into a latitude / longitude pair.
What does Google Offer ?
Check out the main Geocoding page, which presents implementation details of the API as…
View original 1,433 more words
Filed under: GeoCoding XML processing, R programming apply lapply tapply

To leave a comment for the author, please follow the link and comment on his blog: Rolling Your Rs.
R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...