Skip to content

Commit

Permalink
Update GIS slides, reduce intro
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvisc1 committed Mar 12, 2024
1 parent 8e28abf commit c6e2e0c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 96 deletions.
54 changes: 1 addition & 53 deletions gis/gis1/slides_gis1.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -118,58 +118,6 @@ Brief introductions from the instructors
Do a brief round of introductions




---
# Why use R for GIS?

## Reproducible

We can re-run the same code and get the same outcome, or use new data and see how findings have changed. Because it is written as a script it is reproducible, and...

```{r, eval = TRUE, echo = FALSE, out.width = "50%"}
# Using here() alone won't work because Rmd folder becomes the rendering root.
# adding xfun::relative_path() creates a dynamic file path between the Rmd location and the here() path.
# It dynamically creates the ../../etc filepath.
knitr::include_graphics(xfun::relative_path(here::here("images", "welcome", "clone_image.jpg")))
```


---
# Why use R for GIS?

## Shareable

You can share scripts and other people can produce the same findings and results as you. This makes it easy to produce automated reports and share the work between people.

```{r, eval = TRUE, echo = FALSE, out.width = "50%"}
# Using here() alone won't work because Rmd folder becomes the rendering root.
# adding xfun::relative_path() creates a dynamic file path between the Rmd location and the here() path.
# It dynamically creates the ../../etc filepath.
knitr::include_graphics(xfun::relative_path(here::here("images", "welcome", "shareable_image.png")))
```

---
# Why use R for GIS?

## Easy (once you learn the syntax!)

.pull-left[ We know that R can be scary (it was for us too when we first learned it!), but once you learn the basics, and how to apply these to GIS methods in R, you can very quickly produce in depth analysis of data in an efficient, effective and reproducible way!
]

.pull-right[
```{r, eval = TRUE, echo = FALSE, out.width = "100%"}
# Using here() alone won't work because Rmd folder becomes the rendering root.
# adding xfun::relative_path() creates a dynamic file path between the Rmd location and the here() path.
# It dynamically creates the ../../etc filepath.
knitr::include_graphics(xfun::relative_path(here::here("images", "welcome", "easy_image.jpg")))
```
]


---
class: inverse, center, middle

Expand Down Expand Up @@ -200,7 +148,7 @@ Our team of **170 practitioners** live in over **40 countries**.
# adding xfun::relative_path() creates a dynamic file path between the Rmd location and the here() path.
# It dynamically creates the ../../etc filepath.
knitr::include_graphics(xfun::relative_path(here::here("images", "welcome", "team_locations.jpg")))
knitr::include_graphics(xfun::relative_path(here::here("images", "welcome", "team_locations.png")))
```

]
Expand Down
Loading

0 comments on commit c6e2e0c

Please sign in to comment.