1 of 38

Teaching Reproducible Spatial Analysis in R

Angela Li

@CivicAngela

2 of 38

3 of 38

“R Spatial Advocate”

4 of 38

R Spatial Advocate”

On brand!

5 of 38

“R Spatial Advocate”

Space, like comets?

6 of 38

“R Spatial Advocate

Seems like “developer advocate”, which sounds more like a real job

7 of 38

What the heck does an R Spatial Advocate do?

8 of 38

The first three months of my job

9 of 38

Open Source Development/ Documentation

Community Building

Teaching

For spatial stuff!

10 of 38

Open Source Development/ Documentation

Community Building

Teaching

For spatial stuff!

11 of 38

Big shoutout to Yihui Xie, who developed so much of the open source R packages I use….

12 of 38

Back to my days of developing websites...

spatialanalysis.github.io/

13 of 38

14 of 38

A website page, written in R Markdown!

15 of 38

In the future...

16 of 38

The past three months

17 of 38

Setting up a teaching infrastructure in bookdown

spatialanalysis.github.io/workshop-notes/

18 of 38

Setting up a teaching infrastructure in bookdown

19 of 38

Setting up a teaching infrastructure in bookdown

20 of 38

21 of 38

Supported with open-source learning scripts

22 of 38

...that can be accessed by researchers

23 of 38

The future…?

Spatial

24 of 38

Open Source Development/ Documentation

Community Building

Teaching

For spatial stuff!

25 of 38

26 of 38

27 of 38

28 of 38

The book that’s had the most impact on me this year

teachtogether.tech

29 of 38

Main takeaways

  • Cognitive load and prior knowledge
  • Barrier to entry for working with spatial data, before you can even get to the concepts
  • Empathy for your users and learners

30 of 38

Main takeaways

  • Cognitive load and prior knowledge

31 of 38

Main takeaways

  • Barrier to entry for working with spatial data, before you can even get to the concepts

Error in geos_op2_geom("intersection", x, y) : st_crs(x) == st_crs(y) is not TRUE

32 of 38

33 of 38

Hard things!

  • Projections
  • Spatial data formats
  • Data storage
  • New terms
  • Spatial thinking

34 of 38

Main takeaways

  • Empathy for your users and learners

35 of 38

Open Source Development/ Documentation

Community Building

Teaching

For spatial stuff!

36 of 38

Communities for learning are important!

37 of 38

Communities for learning are important!

38 of 38

Thank you!