Skip to content

Instantly share code, notes, and snippets.

View academikuser's full-sized avatar
🎯
Focusing

academikuser

🎯
Focusing
View GitHub Profile
@academikuser
academikuser / googleMapsInR.Rmd
Created March 7, 2017 08:11
R Tutorial: Mapping Israel with ggmap and a GIS shapefile
# load up area shape file:
```{r}
library(maptools)
area <- readShapePoly("ne_10m_parks_and_protected_lands_area.shp")
# # or file.choose:
# area <- readShapePoly(file.choose())
library(RColorBrewer)
colors <- brewer.pal(9, "BuGn")