forked from nstrayer/cv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresume.Rmd
139 lines (98 loc) · 3.53 KB
/
resume.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
---
title: "Tomás Acuña Ruz"
author: Tomás Acuña Ruz
date: "`r Sys.Date()`"
params:
pdf_mode:
value: true
cache_data:
value: true
output:
pagedown::html_resume:
css: ['dd_cv.css', 'resume']
# set it to true for a self-contained HTML page but it'll take longer to render
self_contained: true
---
```{r, include=FALSE}
knitr::opts_chunk$set(
results='asis',
echo = FALSE
)
library(magrittr) # For the pipe
library(dplyr)
source("CV_printing_functions.R")
# ======================================================================
# Now we source two external scripts. One contains functions for building the
# text output and the other loads up our data from either googlesheets or csvs
cv_resume <- readr::read_rds('cached_positions.rds')
# Now we just need to filter down the position data to include less verbose
# categories and only the entries we have designated for the resume
cv_resume$entries_data <- cv_resume[["entries_data"]] %>%
mutate(in_resume = case_when(in_resume == "TRUE" ~ TRUE,
in_resume == "FALSE" ~ FALSE)) %>%
filter(in_resume) %>%
mutate(
# Build some custom sections by collapsing others
section = case_when(
section %in% c('research_positions', 'industry_positions') ~ 'positions',
section %in% c('academic_articles') ~ 'writings',
TRUE ~ section
)
)
```
Aside
================================================================================
<!-- ![logo](logo.png){width=100%} -->
```{r}
if(params$pdf_mode){
cat("View this CV online [tomasacunaruz/cv](https://docs.google.com/spreadsheets/d/19cvVvku2dH3nnwa3cpJlr8hMnIod7VKaC5kohYa14Q4/edit?usp=sharing)")
} else {
cat("[<i class='fas fa-download'></i> Download a PDF CV](https://github.com/tartomas/cv/raw/master/TAR_CV_2020.pdf)")
}
```
Contact {#contact}
--------------------------------------------------------------------------------
```{r}
cv_resume %>% print_contact_info()
```
Language Skills {#skills}
--------------------------------------------------------------------------------
```{r}
cv_resume %>% print_skill_bars()
```
Disclaimer {#disclaimer}
--------------------------------------------------------------------------------
Contact References {data-icon=book}
-------------------------------------------------------------------------------
- [Dr. Cristian Mattar](mailto:[email protected]).
- [Dr. Vincent Echevin](mailto:[email protected]).
- [Dr. Shungu Garaba](mailto:[email protected]).
- [Dr. Daniel Brieva](mailto:[email protected]).
Last updated on `r Sys.Date()`.
Main
================================================================================
Tomás Acuña Ruz {#title}
--------------------------------------------------------------------------------
```{r}
cv_resume %<>% print_text_block("intro")
```
Education {data-icon=graduation-cap data-concise=true}
--------------------------------------------------------------------------------
```{r}
cv_resume %<>% print_section('education')
```
Positions {data-icon=suitcase}
--------------------------------------------------------------------------------
```{r}
cv_resume %<>% print_section('positions')
```
Publications and Writing {data-icon=newspaper}
--------------------------------------------------------------------------------
```{r}
cv_resume %<>% print_section('writings')
```
Lectures {data-icon=graduation-cap}
--------------------------------------------------------------------------------
```{r}
cv_resume %<>% print_section('lectures')
```