Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://paezha.github.io/spatial-analysis-r/

Open Educational Resource for teaching spatial data analysis and statistics with R
https://paezha.github.io/spatial-analysis-r/

data-analysis open-educational-resource r r-package r-spatial rstats spatial-data-analysis spatial-statistics statistics

Last synced: about 18 hours ago
JSON representation

Open Educational Resource for teaching spatial data analysis and statistics with R

Lists

README

        

---
output: github_document
---

```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
#out.width = "100%",
fig.path = "images/"
)
is_online = curl::has_internet()
```

# An Introduction to Spatial Data Analysis and Statistics: A Course in R

[![GitHub all contributors](https://img.shields.io/github/contributors/paezha/spatial-analysis-r?color=2b9348)](https://github.com/paezha/spatial-analysis-r/graphs/contributors)
[![GitHub commit activity](https://img.shields.io/github/commit-activity/y/paezha/spatial-analysis-r)
[![Launch Rstudio Binder](http://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/paezha/spatial-analysis-r/main?urlpath=rstudio)
[![DOI](https://zenodo.org/badge/391072865.svg)](https://zenodo.org/badge/latestdoi/391072865)

## Introduction

This repository hosts the code underlying the book *An Introduction to Spatial Data Analysis and Statistics: A Course in R*, by [Antonio Paez](https://www.science.mcmaster.ca/ees/component/comprofiler/userprofile/paezha.html):

> Paez A (2021). An Introduction to Spatial Data Analysis and Statistics: A Course in R. McMaster Invisible Press. ISBN: 978-1-7778515-0-7

The book is free to read online at https://paezha.github.io/spatial-analysis-r.

## Resources for Students and Instructors

### Presentation slides

I have created a set of presentation slides in mentimeter for each substantive chapter in the book. I use these as mini-lectures in a [flipped classroom](https://en.wikipedia.org/wiki/Flipped_classroom) format in my course, but they can be used as a template for creating longer presentations or lectures.

Chapter | Mentimeter Slides | Static pdf file
--------|-------------------|----------------
Chapter 3 | [Introduction to Mapping](https://www.mentimeter.com/s/de73cd678c3af6b487f2f06eee44cad7/966186ab94da/edit) | pdf
Chapter 5 | [Mapping in `R` Continued](https://www.mentimeter.com/s/0fbd2c03bf23a9da5fbac902278644fe/ee9058215205/edit) | pdf
Chapter 7 | [Maps as Processes](https://www.mentimeter.com/s/59484637c743e96b6810c5e48b2cf405/d1152a9e811c/edit) | pdf
Chapter 9 | [Point Pattern Analysis I](https://www.mentimeter.com/s/2db531a235490f7d66a0077f2c4f0930/df1cd6ccccbb/edit) | pdf
Chapter 11 | [Point Pattern Analysis II](https://www.mentimeter.com/s/100f17f481ed1f28dd98112492533ba6/389b8ed12832/edit) | pdf
Chapter 13 | [Point Pattern Analysis III](https://www.mentimeter.com/s/8495ddf8551f0083017726a9f68cfa5b/4e5c29e8c78e/edit) | pdf
Chapter 15 | [Point Pattern Analysis IV](https://www.mentimeter.com/s/587258400bd04521b52585f27296a799/57f84401a6a6/edit) | pdf
Chapter 17 | [Point Pattern Analysis V](https://www.mentimeter.com/s/fe385c8dbd256f2645507290f579b15c/2056e80d53e4/edit) | pdf
Chapter 19 | [Area Data I](https://www.mentimeter.com/s/cab8fcae7e9b2cd1f447f79b5349dd23/d939ca4b33e9/edit) | pdf
Chapter 21 | [Area Data II](https://www.mentimeter.com/s/c8442809151f00d4ac7e4a300bdf707a/20932ed527b6/edit) | pdf
Chapter 23 | [Area Data III](https://www.mentimeter.com/s/175ee004df6fb9452837023e02b2960b/96666c58d803/edit) | pdf
Chapter 25 | [Area Data IV](https://www.mentimeter.com/s/516dae79f2558cd948da3de61b1c2b54/b7bb868b80d0/edit) | pdf
Chapter 27 | [Area Data V](https://www.mentimeter.com/s/32ee96ef3aaf83559b779f3fb88fc209/341e94b74b69/edit) | pdf
Chapter 29 | [Area Data VI](https://www.mentimeter.com/s/13eade97c82235b94c73d6dec6ef34a7/10a4634c3a9d/edit) | pdf
Chapter 31 | [Spatially Continuous Data I](https://www.mentimeter.com/s/57b95c57c9a4b75e91d91adb8b6e5faa/330c2ca0d567/edit) | pdf
Chapter 33 | [Spatially Continuous Data II](https://www.mentimeter.com/s/b40aa86207d96711a40c73397bd36d08/f8248b9e8ecd/edit) | pdf
Chapter 35 | [Spatially Continuous Data III](https://www.mentimeter.com/s/d651523809c79353767df82bc7ba4d2f/d8e42a7811ed/edit) | pdf
Chapter 37 | [Spatially Continuous Data IV](https://www.mentimeter.com/s/78b3ec0313be43abe9995fe4c3447dd2/07a125804a15/edit) | pdf

### Template repository for projects

I created a [template repository](https://github.com/paezha/ES4GA3-Sample-Repository) to help students get started with the use of GitHub and R Markdown for collaborative work on term projects. In my own course adoption of this workflow is completely optional. Not every student/group has the inclination/time to adopt this approach, but those who do produce very professional-looking reports and learn valuable skills.

### Examples of projects

There will be some examples of projects in this [repository](https://github.com/paezha/student-projects).

## Contributing

An advantage of an Open Educational Resource compared to traditional publishing (besides it being free!) is that it is a live, ongoing project, for as long as anyone cares for it. If you are using this resource, I would encourage you to contribute to improve it, by:

- suggesting improvements to the text, e.g. clarifying unclear sentences, fixing typos (see guidance from [Yihui Xie](https://yihui.name/en/2013/06/fix-typo-in-documentation/));
- proposing changes to the code, e.g. to do things in a more efficient way; and
- making requests to develop content (see the project's [issue tracker](https://github.com/paezha/spatial-analysis-r/issues)).

```{r, include=FALSE}
contributors = source("code/list-contributors.R")[[1]]
# save for future reference:
readr::write_csv(contributors, "extdata/contributors.csv")
c_txt = contributors$name
c_url = contributors$link
c_rmd = paste0("[", c_txt, "](", c_url, ")")
contributors_text = paste0(c_rmd, collapse = ", ")
```

Many thanks to all contributors to the book so far via GitHub (this list will update automatically): `r contributors_text`.

## Reproducing the book

TODO

```{r gen-code, results='hide', echo=FALSE}
# geocompkg:::generate_chapter_code()
```

## The book in binder

I think I got the binder to work.

[![Launch Rstudio Binder](http://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/paezha/spatial-analysis-r/main?urlpath=rstudio)

## The book in a Docker container

TODO

## Reproducing this README

TODO

## Citations

TODO