-
Notifications
You must be signed in to change notification settings - Fork 1
/
cv.rmd
executable file
·154 lines (108 loc) · 3.31 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
---
title: "Brian Norman Peña Calero's CV"
author: Brian Norman Peña Calero
date: "`r Sys.Date()`"
params:
pdf_mode:
value: true
output:
pagedown::html_resume:
css: ['dd_cv.css', 'resume']
self_contained: true
editor_options:
chunk_output_type: console
---
```{r, include=FALSE}
knitr::opts_chunk$set(
results='asis',
echo = FALSE
)
if(!require("remotes")) install.packages("remotes")
if(!require("datadriven")) remotes::install_github("brianmsm/datadrivencv")
library(magrittr) # For the pipe
source("cv_printing_functions.r")
# Read in all data and initialize a CV printer object
CV <- create_CV_object(
data_location = "https://docs.google.com/spreadsheets/d/1eVUhfUpetO1cJWRimTX8dnpTtUE97tCJnuqN_MHBqJs",
pdf_mode = params$pdf_mode
)
```
```{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)
```
```{r}
if(params$pdf_mode){
cat("Puede ver una versión online del CV en [_brianmsm.github.io/cv-breve_](https://brianmsm.github.io/cv-breve/)")
} else {
cat("[<i class='fas fa-download'></i> Descarga este CV en PDF](https://github.com/brianmsm/cv-breve/raw/main/cv.pdf)")
}
```
Contacto {#contact}
--------------------------------------------------------------------------------
```{r}
CV %>% print_contact_info()
```
Habilidades {#skills}
--------------------------------------------------------------------------------
```{r}
CV %>% print_skill_bars()
```
Disclaimer {#disclaimer}
--------------------------------------------------------------------------------
Hecho con el paquete R [**pagedown**](https://github.com/rstudio/pagedown).
El código fuente se encuentra disponible [en github.com/brianmsm/cv-breve](https://github.com/brianmsm/cv-breve).
Última actualización: `r Sys.Date()`.
Main
================================================================================
Brian Norman Peña Calero {#title}
--------------------------------------------------------------------------------
```{r}
# Note the special double pipe so we modify the CV object in place
CV %<>% print_text_block("intro")
```
Educación {data-icon=graduation-cap data-concise=true}
--------------------------------------------------------------------------------
```{r}
CV %<>% print_section('educacion')
```
Experiencia {data-icon=laptop}
--------------------------------------------------------------------------------
```{r}
CV %<>% print_section('experiencia_investigacion')
```
Investigaciones y conferencias {data-icon=book}
--------------------------------------------------------------------------------
::: aside
```{r}
CV %<>% print_text_block('articulos_conferencias_aside')
```
:::
```{r}
CV %<>% print_section('articulos_conferencias')
```
<br>
Capacitaciones {data-icon=chalkboard-teacher}
--------------------------------------------------------------------------------
::: aside
```{r}
CV %<>% print_text_block('capacitaciones_aside')
```
:::
```{r}
CV %<>% print_section('capacitaciones')
```