Jeremy Leipzig, "Data Mashups in R"
English | ISBN: 1449303536 | 2011 | 38 pages | PDF | 2 MB
English | ISBN: 1449303536 | 2011 | 38 pages | PDF | 2 MB
How do you use R to import, manage, visualize, and analyze real-world data? With this short, hands-on tutorial, you learn how to collect online data, massage it into a reasonable form, and work with it using R facilities to interact with web servers, parse Html and Xml, and more. Rather than use canned sample data, you'll plot and analyze current home foreclosure auctions in Philadelphia. This practical mashup exercise shows you how to access spatial data in several formats locally and over the Web to produce a map of home foreclosures. It's an excellent way to explore how the R environment works with R packages and performs statistical analysis. Parse messy data from public foreclosure auction postings Plot the data using R's Pbsmapping package Import Us Census data to add context to foreclosure data Use R's lattice and latticeExtra packages for data visualization Create multidimensional correlation graphs with the pairs scatterplot matrix package