-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpeople.qmd
53 lines (45 loc) · 1.2 KB
/
people.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
title: "People"
link-external-icon: false
resources:
- "images/bluesky.svg"
---
<script src="https://kit.fontawesome.com/52811a1d50.js" crossorigin="anonymous"></script>
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
library(dplyr)
```
```{r, file = here::here("snippets", "team_members.R")}
```
Team members are staff, students and long-term visitors (3 months or more) of the group.
## Current team members
```{r, results='asis'}
current_team %>%
purrr::map_chr(function(e) {
knitr::knit_expand(
"_team_member.Rmd",
name = e[["name"]],
webpage = e[["webpage"]],
github = e[["github"]],
twitter = e[["twitter"]],
bluesky = e[["bluesky"]],
orcid = e[["orcid"]],
description = e[["description"]]
)
}) %>%
{ knitr::knit_child(text = unlist(.), quiet = TRUE) } %>%
cat(sep = "\n")
```
## Former team members
```{r, results='asis'}
former_team <- team %>%
purrr::keep(function(x) !x[["current-member"]]) %>%
purrr::map_chr(function(e) {
if (is.null(e[["webpage"]]) || e[["webpage"]] == "") {
return(e[["name"]])
} else {
return(glue::glue('[{e[["name"]]}]({e[["webpage"]]})'))
}
}) %>%
cat(sep = " · ")
```