Skip to content

Latest commit

 

History

History
141 lines (41 loc) · 1.48 KB

index.md

File metadata and controls

141 lines (41 loc) · 1.48 KB
title subtitle author job framework highlighter hitheme widgets mode knit
Maps with R
Workshop
Beatriz Martínez
io2012
highlight.js
tomorrow
interactive
selfcontained
slidify::knit2slides

CONTENT

  1. Read shapefiles into R... (datos geográficos)
  2. ...and plot some meaningful data. (datos asociados)
  3. Plot a map on a streetmap (ggplot + ggmap) (referencia)
  4. Remove the background street map.
  5. googleVis

1. Read shapefiles into R... (datos geográficos)

GET READY

   

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)

1. Read shapefiles into R... (datos geográficos)

POINT SHAPEFILES: the parks

 

Load a Shapefile into R (downladed from [madrid.org](http://www.madrid.org /nomecalles/DescargaBDTCorte.icm))