Skip to content

Repository files navigation

Lessons learned HS23

  • The timetable is quite alright, the afternoon is a bit tighter than the morning
  • Everything on screen is a bit too much, it would be cool to send the links up ahead and give the students time to print out the pdf
  • Since we are learning vector, raster and tmap, it would be cool to provide cheat sheets for all three
  • I neglected qgis a bit, and I didn't explain much about how to work with this software
  • Swissimage10 is now in seperate tifs, how do you merge these in R? How do you download multiple files using R?

Sample solutions

I've implemented [quarto profiles to facilitate rendering a version with and a version without (default) sample solutions. To render, publish or preview a version with sample solutions append --profile musterloesung to the respective command, which is defined in _quarto-musterloesung.yml. This means, that there is no need for playing around with echo and output in the code chunks.

Publishing

Instead of overwriting the version without sample solution with the version with sample solutions, I've decided to publish the version with sample solutions to a different destination, namely quarto-pub. This way, I can test and view the sample solutions easily and can just keep the URL hidden until the course is over. See below to publish to the two destinations.

quarto publish gh-pages --no-prompt
quarto publish quarto-pub --profile musterloesung --no-prompt

Authoring

To display certain text or code content only in the sample solutions, add it in the following manner.

::::{.content-visible when-profile="musterloesung"}
:::{.callout-note}

```{r}
#| filename: Musterlösung
1+1
```

:::
::::

Releases

Packages

Contributors

Languages