title | subtitle | author | job | framework | highlighter | hitheme | widgets | mode | knit | |
---|---|---|---|---|---|---|---|---|---|---|
Maps with R |
Workshop |
Beatriz Martínez |
io2012 |
highlight.js |
tomorrow |
|
selfcontained |
slidify::knit2slides |
- Read shapefiles into R... (datos geográficos)
- ...and plot some meaningful data. (datos asociados)
- Plot a map on a streetmap (ggplot + ggmap) (referencia)
- Remove the background street map.
- googleVis
wd <- "/Users/martinez/Dropbox/R"
setwd(paste(wd, "/R_maps_workshop_slidify", sep = ""))
# Download the source from
# http://www.stats.ox.ac.uk/pub/RWin/bin/macosx/mavericks/contrib/3.1/
# install.packages('packages/rgdal_0.8-16.tgz', repos = NULL)
# install.packages('packages/rgeos_0.3-4.tgz', repos = NULL)
library(rgeos)
library(rgdal)
library(sp)
library(maptools)
Load a Shapefile into R (downladed from [madrid.org](http://www.madrid.org /nomecalles/DescargaBDTCorte.icm))