Maps with R

Ilya Kashnitsky

18 October 2017

We are doing the right thing here

Anscombe’s Quartet

Imgur

dino https://www.autodeskresearch.com/publications/samestats

Map projections

https://xkcd.com/977/

http://epsg.io

Sources of geodata

https://www.google.de/search?client=opera&q=download+shapefile&sourceid=opera&ie=UTF-8&oe=UTF-8&gfe_rd=cr&ei=-Y1LWciCFYLBaJ77qeAO

https://www.statsilk.com/maps/download-free-shapefile-maps

http://wiki.openstreetmap.org/wiki/Shapefiles

http://www.gadm.org

Where to go next?

Materials

https://ikashnitsky.github.io

https://github.com/Robinlovelace/Creating-maps-in-R

https://bookdown.org

https://www.r-bloggers.com

https://xinye1.github.io/projects/brexit-cartogram-leaflet/

Packages to explore

http://rpubs.com/bhaskarvk/tilegramsR

https://github.com/sjewo/cartogram

https://cran.r-project.org/web/packages/tmap/vignettes/tmap-nutshell.html

https://r-spatial.github.io/sf/index.html

swirl

http://swirlstats.com

Presentations with R

Easy and impressive

impress

Numerous frameworks for creating presentations with R

http://rmarkdown.rstudio.com/formats.html

https://ramnathv.github.io/slidifyExamples

My choice: revealjs

http://lab.hakim.se/reveal-js/

Advantages of HTML5 presentations

  • Open in any browser
  • Put online
  • Dynamic fit to screen (4:3 or 16:9 ?)
  • Animated contents
  • Fast to create
  • Enforce KISS

http://rmarkdown.rstudio.com/revealjs_presentation_format.html