forked from jpflores-13/cv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resume.Rmd
153 lines (106 loc) · 4.06 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
140
141
142
143
144
145
146
147
148
149
150
151
---
title: "JP Flores' Resume"
author: JP Flores
date: "`r Sys.Date()`"
output:
pagedown::html_resume:
css: ['css/custom_resume.css', 'css/styles.css', 'resume']
# set it to true for a self-contained HTML page but it'll take longer to render
self_contained: true
knit: pagedown::chrome_print
---
```{r, include=FALSE}
knitr::opts_chunk$set(
results='asis',
echo = FALSE
)
library(tidyverse)
library(glue)
# ======================================================================
# These variables determine how the the data is loaded and how the exports are
# done.
# Is data stored in google sheets? If no data will be gather from the csvs/
# folder in project
using_googlesheets <- TRUE
# Just the copied URL from the sheet
positions_sheet_loc <- "https://docs.google.com/spreadsheets/d/1kzVjmxlzmNsFXYa_A9A6OpZcMWZC1zOY62Ra5Xd9OPE/edit?usp=sharing"
# Is this sheet available for anyone to read? If you're using a private sheet
# set this to false and go to gather_data.R and run the data loading manually
# once to cache authentication
sheet_is_publicly_readable <- TRUE
# Is the goal of this knit to build a document that is exported to PDF? If so
# set this to true to have links turned into footnotes at the end of the
# document
PDF_EXPORT <- FALSE
# A global (gasp) variable that holds all the links that were inserted for
# placement at the end
links <- c()
# ======================================================================
# 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
# Functions for building sections from CSV data
source('parsing_functions.R')
# Load data for CV/Resume
source('gather_data.R')
# 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
position_data <- position_data %>%
filter(in_resume) %>%
mutate(
# Build some custom sections by collapsing others
section = case_when(
section %in% c('research_experience', 'professional_experience') ~ 'positions',
section %in% c('invited_talks', 'academic_articles') ~ 'featured',
TRUE ~ section
)
)
```
Aside
================================================================================
![logo](logo.jpeg){width=100%}
JP FLORES {#contact}
--------------------------------------------------------------------------------
```{r}
contact_info %>%
glue_data("- <i class='fa fa-{icon}'></i> {contact}")
```
Skills {#skills}
--------------------------------------------------------------------------------
```{r}
build_skill_bars(skills)
```
Featured Awards & Accolades {#awards}
--------------------------------------------------------------------------------
```{r}
resume_awards %>% print_resume_awards('awards')
```
More info {#more-info}
--------------------------------------------------------------------------------
See full CV at [jpflores-13.github.io/cv/](https://jpflores-13.github.io/cv/cv.html)
Disclaimer {#disclaimer}
--------------------------------------------------------------------------------
Made w/ [**pagedown**](https://github.com/rstudio/pagedown).
Source code: [github.com/jpflores-13/cv](https://github.com/jpflores-13/cv).
Last updated on `r Sys.Date()`.
Main
================================================================================
JP Flores {#title}
--------------------------------------------------------------------------------
```{r}
print_text_block(text_blocks, 'intro')
```
Education {data-icon=graduation-cap data-concise=true}
--------------------------------------------------------------------------------
```{r}
position_data %>% print_section('education')
```
Research & Professional Experience {data-icon=suitcase}
--------------------------------------------------------------------------------
```{r}
position_data %>% print_section('positions')
```
Featured Talks {data-icon=newspaper}
--------------------------------------------------------------------------------
```{r}
position_data %>% print_section('featured')
```