1 of 9

R Notebooks: A New Paradigm for Geospatial Data Science

Tina A. Cormier

tina@telluslabs.com

@TinaACormier

2 of 9

What is R?

  • an open source software project & programming language
  • known for stats & graphics
  • less known as a fully functional command line GIS.

3 of 9

What is R?

http://spatial.ly/2012/02/great-maps-ggplot2/

4 of 9

What is an R Notebook?

“An R Notebook is an R Markdown document with [code] chunks that can be executed independently and interactively, with output visible immediately beneath the input.”

5 of 9

What is an R Notebook?

  • Narrative, code, and output in one document

  • An extension of R Markdown - a plain text format
    • Yes, it’s just a text file!

  • Can output to dozens of shareable formats
    • html
    • pdf
    • Word

  • rtf
  • Github flavor of md
  • Various presentation formats

6 of 9

R Notebook File Format

  • The source code is in the .rmd file

  • There is also an associated .nb.html file:
    • Contains the .rmd source code and output
    • Created automatically when html_notebook output is specified

7 of 9

R Notebook Demo

Code: https://github.com/tacormier/FOSS4GNA_2018

8 of 9

R Notebook Resources

9 of 9

Thank you!

We’re Hiring!

Backend Product Engineer, Python

Let’s Connect

@TinaACormier tina@telluslabs.com tinacormier