owned this note
owned this note
Published
Linked with GitHub
# Quarto - Digital Scholarship Days - UiO
January 10th, 2024
Prep instructions:
https://drmowinckels.io/quartaki/#preparations
## Welcome to our collaborative note!
Here you can post anonymous questions, links, code etc to help yourself and others during the course.
We will actively be using this document to share code with you, so you may copy and paste it into your personal working quarto document.
**Attendees**
Please add your name below to indicate your presence, and also your favourite flavour ice cream.
- Athanasia Monika Mowinckel, lemon sorbet
- Nazeefa Fatima, strawberry cheesecake
- Lars Roar Frøyland, lemon
- Rayad Sakyar, Mango
- Andreas Lillebråten, snow
- Hanna Seglem Tangen, krokan
- Itamara Campos, Fruits
- Maja S. Jacobsen, vanilla cookie dough
- Alexis Carson, lemon
- Johan, any ice cream flavour
- Marthe, Chocolate
- Emilie Willoch Olstad, pistachio
- Ann-Kristin, cherry
- Mingyi Yang, grape
- Michela Iacorossi, chocolate
- Kjersti Stabell Wiggen, chocolate
- Trishang Udhwani, Coffee
- Petter Hopp, caramell
- Julie Johannessen, pistachio
- Karine Fluge Ulleberg, banana
- Björn Þór Jónsson
- Anne Grete, pistachio
- Mari Mjaaland, pistachio
- Elin Moen Dahl, vanilla
- Sahar, Coffee flavour
- Agata Bochynska, chocolate
- Anette Karin Åbom, chocolate
# Course sections
We will try to organise the document after the sections of the day.
## 1. Elements of a qmd
## 2. Making our first html report
```{r}
library(palmerpenguins)
library(knitr)
library(kableExtra)
library(tidyverse)
penguins <- penguins
```
```{r}
ggplot(penguins,
aes(x = bill_length_mm,
y = bill_depth_mm)) +
geom_point(aes(colour = species)) +
geom_smooth(method = "lm",
color = "black") +
theme_minimal()
```
## 3. Citations & cross-references
```{r}
#| label: fig-penguin-smooth
#| fig-cap: Penguin bill length and depth ratio by species
ggplot(penguins,
aes(x = bill_length_mm,
y = bill_depth_mm)) +
geom_point(aes(colour = species)) +
geom_smooth(method = "lm",
color = "black") +
theme_minimal()
```
```{r}
#| label: tbl-penguins
#| tbl-cap: Penguin summary
penguins |>
pivot_longer(contains("_"),
values_drop_na = TRUE) |>
group_by(name, species) |>
summarise(across(value,
list(Mean = mean,
SD = sd,
Min = min,
Max = max,
N = length),
.names = "{.fn}")) |>
mutate(
name = str_replace_all(name, "_", " ")
) |>
kable(booktabs = TRUE, digits = 3,) |>
kable_classic() |>
add_header_above(c(" " = 4, "Range" = 2, " " = 1)) |>
collapse_rows(1)
```
```{r}
#| label: fig-penguin-density
#| fig-cap: Penguin density
penguins |>
ggplot(aes(x = bill_length_mm,
fill = species)) +
geom_density() +
theme_minimal()
```
## 4. Making our first pdf report
## 5. Making our first presentation
## End of course
Please also fill out this survey about the Digital Scholarship Days after the course.
This way we can evaluate the courses given and the feedback from participants for the next time we arrange it!
https://nettskjema.no/a/384654#/page/1
# Example text
feel free to use this text for your test document
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec dapibus, dui in placerat semper, orci justo semper erat, et pharetra leo sapien ac ligula. Maecenas nisl augue, egestas a sem ut, fermentum efficitur nibh. Phasellus accumsan placerat turpis hendrerit euismod. Sed cursus enim id risus euismod tempor quis vitae tortor. Integer lectus arcu, finibus non finibus nec, rutrum molestie erat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vel ex tincidunt, volutpat est consectetur, egestas neque. In ornare molestie vehicula. Duis lacinia pretium massa, nec mattis mauris dictum quis.
Vivamus placerat tristique neque at posuere. Etiam ullamcorper nunc id rhoncus egestas. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec pretium, ipsum sed porta scelerisque, urna ante dapibus ligula, et volutpat diam lectus at metus. Vestibulum commodo, neque eget tincidunt placerat, nunc lectus aliquam risus, at aliquam quam mauris eu velit. Vivamus eget orci ut lorem mollis porta id in leo. Nam eu lorem sit amet diam tincidunt pretium. Proin et sodales purus. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Pellentesque tincidunt mattis orci nec hendrerit. Duis sodales tellus est, sed dignissim ex dignissim mattis. Pellentesque nec pellentesque sapien. Ut et varius sem, eu pharetra orci. Integer facilisis vitae mauris ac tristique. Nulla viverra laoreet libero, vitae iaculis urna malesuada sit amet. Nullam dapibus felis mi, non mollis ligula facilisis non.