Welcome

Welcome to the online home of Geocomputation with R, a forthcoming book with CRC Press.

Development

Inspired by bookdown and other open source projects we are developing this book in the open. Why? To encourage contributions, ensure reproducibility and provide access to the material as it evolves.

The book’s development can be divided into four main phases:

  1. Foundations
  2. Basic applications
  3. Geocomputation methods
  4. Advanced applications

Currently the focus is on Part 2, which we aim to be complete by December. New chapters will be added to this website as the project progresses, hosted at geocompr.robinlovelace.net and kept up-to-date thanks to Travis. Currently the build is:

Build Status

The version of the book you are reading now was built on 2018-01-16 and was built on Travis.

How to contribute?

bookdown makes editing a book as easy as editing a wiki, provided you have a GitHub account (sign-up at github.com). Once logged-in to GitHub, clicking on the ‘edit me’ icon highlighted in the image below will take you to the source R Markdown where you can make changes:

To raise an issue about the book’s content (e.g. code not running) or make a feature request, check-out the issue tracker.

Reproducibility

To reproduce the book, you need a recent version of R and up-to-date packages, which can be installed with the following command (which requires devtools):

devtools::install_github("robinlovelace/geocompr")

To build the book locally, clone or download the geocompr repo, load R in root directory (e.g. by opening geocompr.Rproj in RStudio) and run the following lines:

bookdown::render_book("index.Rmd") # to build the book
browseURL("_book/index.html") # to view it

Further details can be found at Robinlovelace/geocompr.