-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcv.rmd
211 lines (151 loc) · 4.58 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
---
title: "Sergio Ruiz-Carmona's CV"
author: Sergio Ruiz-Carmona
date: "`r Sys.Date()`"
params:
pdf_mode:
value: false # true for links in bottom
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("cv_printing_functions.r")
# Read in all data and initialize a CV printer object
if(file.exists("cv.rda")) {
load("cv.rda")
} else {
CV <- create_CV_object(
data_location = "https://docs.google.com/spreadsheets/d/1D_MQxoi1XXoQLWSI3mH1Qo6tkctnENAij0-d3BEohu0",
pdf_mode = params$pdf_mode
)
save(CV, file="cv.rda")
}
```
```{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>")
}
```
Aside
================================================================================
```{r}
# Build interactive network of positions colored by section
# and connected if they occurred in the same year
datadrivencv::build_network_logo(CV$entries_data %>%
dplyr::filter(section != "N/A" &
section != "skills_and_training"),
angle=220,
# rx=100, ry=150,
vb1=70, vb2=-60, vb3=100, vb4=400
)
```
```{r}
if(params$pdf_mode){
cat("View this CV [online](https://cv.ruizsergio.com/full)")
} else {
cat("<i class='fas fa-download'></i> [Download in PDF](https://cv.ruizsergio.com/full.pdf)")
}
```
Contact {#contact}
--------------------------------------------------------------------------------
```{r}
CV %>% print_contact_info()
```
<i class="fa fa-code"></i> Programming {#skills}
--------------------------------------------------------------------------------
```{r}
CV %>% print_skill_bars()
```
Disclaimer {#disclaimer}
--------------------------------------------------------------------------------
<!-- Made with the R package [**pagedown**](https://github.com/rstudio/pagedown). -->
![photo](img.jpg){#img .img}
Source code in [github](https://github.com/sruizcarmona/sergioruiz_cv),<br>
built with [datadrivencv](http://nickstrayer.me/datadrivencv/) package
Last updated in `r format(Sys.Date(), format="%b, %Y")`
Main
================================================================================
Sergio Ruiz-Carmona {#title}
--------------------------------------------------------------------------------
```{r}
# Note the special double pipe so we modify the CV object in place
CV %<>% print_text_block("intro")
```
Education {data-icon=graduation-cap}
--------------------------------------------------------------------------------
```{r}
CV %<>% print_section('education')
```
Research Experience {data-icon=laptop}
--------------------------------------------------------------------------------
```{r}
CV %<>% print_section('research_positions')
```
::: aside
```{r}
CV %<>% print_text_block('research_experience_aside')
```
:::
Skills and Training {data-icon=cogs data-concise=true}
--------------------------------------------------------------------------------
```{r}
CV %<>% print_section('skills_and_training')
```
\newpage
Selected Publications {.pagetop data-icon=book}
--------------------------------------------------------------------------------
::: aside
```{r}
CV %<>% print_text_block('publications_aside')
```
:::
```{r}
CV %<>% print_section('academic_articles')
```
::: aside
```{r}
CV %<>% print_text_block('teaching_experience_aside')
```
:::
Teaching Experience {data-icon=university data-concise=true}
--------------------------------------------------------------------------------
```{r}
CV %<>% print_section('teaching_positions')
```
\newpage
Scientific Communications {data-icon=chalkboard-teacher .pagetop data-concise=true}
--------------------------------------------------------------------------------
::: aside
```{r}
CV %<>% print_text_block('scicomms_aside')
```
:::
```{r}
CV %<>% print_section('scientific_comms')
```
Data Science Writing {data-icon=chart-line data-concise=true}
--------------------------------------------------------------------------------
```{r}
CV %<>% print_section('data_science_writings')
```
Selected Press Stories {data-icon=newspaper}
--------------------------------------------------------------------------------
```{r}
CV %<>% print_section('about_me_press')
```
```{r}
CV %<>% print_links()
```