-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
cv-2-column.Rmd
177 lines (139 loc) · 4.72 KB
/
cv-2-column.Rmd
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
---
title: "Ulrik Lyngs <br> Curriculum vitae"
output:
pagedown::html_paged:
css: ["css/bootstrap-5.2.1.min.css", "css/two-col-cv.css"]
number_sections: false
knit: pagedown::chrome_print
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE)
library(tidyverse)
library(knitr)
library(glue)
library(fontawesome)
library(readxl)
library(lubridate)
source("R/utility-functions.R")
cv_entries <- read_excel("cv_data.xlsx", sheet = "cv_entries") |>
mutate(year = year(date))
publications <- read_excel("cv_data.xlsx", sheet = "publications") |>
mutate(year = year(date))
```
::: {.row}
:::::: {.col-8 .summary}
# Research summary
**Aims**---to develop and evaluate design patterns that help people self-regulate their use of smartphones and laptops.\
**Methods**---controlled studies, user surveys, interviews, co-design workshops, web scraping, behaviour logging.
**I am passionate about** open and transparent research. Since 2018, I have shared materials, analysis scripts, and data for all my first-authored work, and written my papers as reproducible documents in [R Markdown](https://rmarkdown.rstudio.com).
::::::
:::::: {.col-4}
# Contact {.box}
::::::::: {.info-box}
| Center | Left |
|:------:|:-----|
| `r fa("map-marker-alt")`| Dept. of Computer Science, University of Oxford |
| `r fa("envelope")` | ulrik.lyngs@cs.ox.ac.uk |
| `r fa("globe")` | [ulriklyngs.com](https://ulriklyngs.com) |
| `r fa("github")` | [ulyngs](https://github.com/ulyngs) |
:::::::::
::::::
:::
::: {.row}
:::::: {.col-6 .left}
# Awards and honours
```{r}
cv_entries |>
filter(type == 'awards', short_cv == "y") |>
mutate(what = glue("<span class='cv-entry-title'>{what}</span>, {where}")) |>
select(year, what) |>
kable()
```
# Selected major grants
```{r}
cv_entries |>
filter(type == 'major_grants', short_cv == "y") |>
mutate(what = if_else(is.na(additional_info),
glue("<span class='cv-entry-title'>{what}</span> ({additional_info2}), {where}"),
glue("<span class='cv-entry-title'>{what}</span> ({additional_info2}), {where}"))) |>
select(year, what) |>
kable()
```
::::::
:::::: {.col-6 .right}
# Education
```{r}
cv_entries |>
filter(type == 'education') |>
mutate(what = glue("<span class='cv-entry-title'>{what}</span>, {where}")) |>
select(year, what) |>
kable()
```
# Selected teaching experience
```{r}
cv_entries |>
filter(type == 'teaching', short_cv == "y") |>
mutate(what = glue("<span class='cv-entry-title'>{what}</span>, {where}<br>",
"{additional_info}")) |>
select(year, what) |>
kable()
```
::::::
:::
<!-- you might want to manually insert page breaks -->
<br class="pageBreak" />
::: {.row .pagetwo}
:::::: {.col-6 .left}
# Selected talks {.talks}
```{r}
cv_entries |>
filter(type == 'talk', short_cv == "y") |>
# add commas as appropriate
mutate(where = if_else(!is.na(where) & !is.na(institution), glue(", {where}"), where),
department = if_else(!is.na(department), glue(", {department}"), department),
additional_info = if_else(!is.na(additional_info), glue(", {additional_info}"), "")) |>
# add slide and video links
mutate(slides = if_else(!is.na(slides), glue("<a href={slides}>Slides</a>"), ""),
video = if_else(!is.na(video), glue("<a href={video}>Video</a>"), "")) |>
# put it all together
mutate(what = glue("<span class='cv-entry-title'>{institution}{where}</span>{department}{additional_info}<br>",
"<span style='display:inline-block;' class='talk-title'>{what}</span>",
.na = "")) |>
select(year, what) |>
kable()
```
::::::
:::::: {.col-6 .right}
# Selected media & panels
```{r}
cv_entries |>
filter(type == 'media' | type == 'talk-podcast' | type == 'talk-panel') |>
filter(short_cv == "y") |>
# format the translation
mutate(what_translation = if_else(!is.na(what_translation), glue("({what_translation})"), what_translation)) |>
replace_na(list(what_translation = "")) |>
# put it all together
mutate(what = glue("<span class='cv-entry-title'>{where}</span>, {what} *{what_translation}*")) |>
select(year, what) |>
kable()
```
# Professional development {.prof-dev}
```{r}
cv_entries |>
filter(type == 'prof-dev') |>
mutate(what = glue("<span class='cv-entry-title'>{what}</span>, {where}")) |>
select(year, what) |>
kable()
```
# Selected service
```{r}
cv_entries |>
filter(type == 'service', short_cv == "y") |>
mutate(where = if_else(!is.na(url), glue("[{where}]({url})"), where)) |>
mutate(what = glue("<span class='cv-entry-title'>{what}</span> {where}")) |>
arrange(desc(date_end), desc(date)) |>
select(year, what) |>
kable()
```
::::::
:::