-
Notifications
You must be signed in to change notification settings - Fork 0
/
cv.rmd
348 lines (264 loc) · 5.62 KB
/
cv.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
---
title: "Marco Zanotti's CV"
author: Marco Zanotti
date: "`r Sys.Date()`"
params:
pdf_mode:
value: true
lang:
value: 'en'
resume:
value: false
output:
pagedown::html_resume:
css: ['dd_cv.css', 'resume']
self_contained: true
---
```{r, include=FALSE}
knitr::opts_chunk$set(
results = 'asis',
echo = FALSE
)
library(magrittr) # For the pipe
source("R/cv_printing_functions.r")
if (params$lang == "en") {
Sys.setlocale("LC_ALL", "en_US.UTF-8")
} else {
Sys.setlocale("LC_ALL", "it_IT.UTF-8")
}
# Read in all data and initialize a CV printer object
cv <- create_cv_object(
data_location = "https://docs.google.com/spreadsheets/d/1FwVp14baq9CeUS2x8nniXf9tBCBc3hJJxbbH3DDZziY/edit?usp=sharing",
resume = params$resume
) %>%
clean_cv_object(language = params$lang)
```
```{r}
# When in pdf export mode the little dots are unaligned, so fix that with some conditional CSS.
if (params$pdf_mode) {
cat("
<style>
:root{
--decorator-outer-offset-left: -6.5px;
}
</style>")
}
```
Main
================================================================================
::: aside
<center>
![Marco Zanotti](pics/cvpic_new.png){width=80%}
</center>
```{r contacts}
if (params$lang == "en") {
cat("#### Contacts {#contact}\n")
} else {
cat("#### Contatti {#contact}\n")
}
cv %>% print_contacts()
```
```{r statistics}
if (params$lang == "en") {
cat("#### Statistics\n")
} else {
cat("#### Statistica\n")
}
cv %>% print_text_block("statistics_skills_aside")
```
```{r programming}
if (params$lang == "en") {
cat("#### Programming\n")
} else {
cat("#### Programmazione\n")
}
cv %>% print_skill_bars(section_ids = "programming")
```
```{r dataviz}
if (params$lang == "en") {
cat("#### BI & Visualization\n")
} else {
cat("#### BI & Visualization\n")
}
cv %>% print_skill_bars(section_ids = "dataviz")
```
:::
Marco Zanotti {#title}
--------------------------------------------------------------------------------
```{r}
cv %>% print_text_block("introduction")
```
```{r professional_experience}
if (params$lang == "en") {
cat("## Professional Experience {data-icon=suitcase}\n")
} else {
cat("## Esperienza Professionale {data-icon=suitcase}\n")
}
cv %>% print_experience("professional_experience")
```
```{r teaching_experience}
if (params$lang == "en") {
cat("## Teaching Experience {data-icon=chalkboard-teacher}\n")
} else {
cat("## Insegnamento {data-icon=chalkboard-teacher}\n")
}
cv %>% print_experience("teaching_experience", n_top = 1)
```
\newpage
::: aside
```{r database}
if (params$lang == "en") {
cat("#### Databases\n")
} else {
cat("#### Database\n")
}
cv %>% print_skill_bars(section_ids = "database")
```
```{r versioning}
if (params$lang == "en") {
cat("#### Versioning\n")
} else {
cat("#### Versioning\n")
}
cv %>% print_skill_bars(section_ids = "versioning")
```
```{r ci_cd}
if (params$lang == "en") {
cat("#### CI / CD\n")
} else {
cat("#### CI / CD\n")
}
cv %>% print_skill_bars(section_ids = "integration")
```
```{r cloud}
if (params$lang == "en") {
cat("#### Cloud\n")
} else {
cat("#### Cloud\n")
}
cv %>% print_skill_bars(section_ids = "cloud")
```
```{r os}
if (params$lang == "en") {
cat("#### Operating Systems\n")
} else {
cat("#### Sistemi Operativi\n")
}
cv %>% print_skill_bars(section_ids = "os")
```
:::
```{r teaching_experience2}
# if (params$lang == "en") {
# cat("## Teaching Experience {data-icon=chalkboard-teacher}\n")
# } else {
# cat("## Insegnamento {data-icon=chalkboard-teacher}\n")
# }
cv %>% print_experience("teaching_experience", n_down = 1)
```
```{r publications}
if (params$lang == "en") {
cat("## Publications {data-icon=book-open}\n")
} else {
cat("## Pubblicazioni {data-icon=book-open}\n")
}
cv %>% print_experience("publication")
```
```{r speech}
if (params$lang == "en") {
cat("## Conferences & Seminars {data-icon=tablet}\n")
} else {
cat("## Conferenze e Seminari {data-icon=tablet}\n")
}
cv %>% print_experience("speech")
```
```{r education}
if (params$lang == "en") {
cat("## Education {data-icon=graduation-cap}\n")
} else {
cat("## Istruzione {data-icon=graduation-cap}\n")
}
cv %>% print_experience("education")
```
\newpage
::: aside
```{r languages}
if (params$lang == "en") {
cat("#### Languages\n")
} else {
cat("#### Lingue\n")
}
cv %>% print_skill_bars(section_ids = "language")
```
```{r sports_hobbies}
if (params$lang == "en") {
cat("#### Spoorts & Hobbies\n")
} else {
cat("#### Sport e Hobby\n")
}
cv %>% print_text_block("sports_and_hobbies_aside")
```
```{r disclaimer}
if (params$lang == "en") {
cat(
"Made with the R package [**pagedown**](https://github.com/rstudio/pagedown).
*Last updated on *"
)
} else {
cat(
"Creato con il pacchetto R [**pagedown**](https://github.com/rstudio/pagedown).
*Aggiornato a *"
)
}
```
*`r stringr::str_to_title(format(Sys.time(), '%B %Y'))`*
:::
```{r certificates}
if (params$lang == "en") {
cat("## Certificates {data-icon=award}\n")
} else {
cat("## Certificazioni {data-icon=award}\n")
}
cv %>% print_experience("certification")
```
```{r personal_competences}
if (params$lang == "en") {
cat("## Personal Competences {data-icon=user-cog}\n")
} else {
cat("## Competenze Personali {data-icon=user-cog}\n")
}
cv %>% print_experience("personal_competence")
```