/
resume.Rmd
136 lines (100 loc) · 3.51 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
---
title: "Chang-Yu Chang's resume"
author: Chang-Yu Chang
date: "`r Sys.Date()`"
output:
pagedown::html_resume:
# set it to true for a self-contained HTML page but it'll take longer to render
css: ['css/styles.css',
'css/fontawesome-free-6.1.1-web/css/all.css', #icon
'css/academicons-1.9.2/css/academicons.css', # icon
'resume']
self_contained: true
---
```{r, include=FALSE}
knitr::opts_chunk$set(
results='asis',
echo = FALSE
)
library(glue)
library(tidyverse)
# Set this to true to have links turned into footnotes at the end of the document
PDF_EXPORT <- TRUE
# Holds all the links that were inserted for placement at the end
links <- c()
source('parsing_functions.R')
# First let's get the data, filtering to only the items tagged as
# Resume items
position_data <- read_csv('positions.csv') %>%
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('data_science_writings', 'by_me_press') ~ 'writings',
TRUE ~ section
)
)
```
```{r}
# When in export mode the little dots are unaligned, so fix that.
if(PDF_EXPORT){
cat("
<style>
:root{
--decorator-outer-offset-left: -6.5px;
}
</style>")
}
```
Aside
================================================================================
![Chang-Yu Chang](icon-192.png){width=80%}
```{r eval=F}
# When in export mode the little dots are unaligned, so fix that.
if(PDF_EXPORT){
cat("View this [CV online](https://www.changyuchang.name/pdf/resume.html)")
} else {
cat("[<i class='fas fa-download'></i> Download a PDF of this CV](https://github.com/Chang-Yu-Chang/cv/raw/master/resume.pdf)")
}
```
Contact Info {#contact}
--------------------------------------------------------------------------------
- changyuchang5@gmail.com
- <i class="fa fa-twitter"></i> [changyu_chang](https://twitter.com/changyu_chang)
- <i class="fa fa-github"></i> [github](https://github.com/Chang-Yu-Chang)
- <i class="fa fa-google"></i> [google scholar](https://scholar.google.com.tw/citations?user=g273Ts8AAAAJ&hl=en)
- <i class="fa fa-link"></i> [personal webite](https://www.changyuchang.name/)
- For more information, please contact me via email.
Disclaimer {#disclaimer}
--------------------------------------------------------------------------------
The source code is available at [github.com/Chang-Yu-Chang/cv](https://github.com/Chang-Yu-Chang/cv).
Last updated on `r Sys.Date()`.
Main
================================================================================
Chang-Yu Chang 張昌祐 {#title}
--------------------------------------------------------------------------------
```{r}
intro_text <- ""
cat(sanitize_links(intro_text))
```
Professional Appointment and Education {data-icon=graduation-cap data-concise=true}
--------------------------------------------------------------------------------
```{r}
print_section(position_data, 'education')
```
Selected Publications {data-icon=book}
--------------------------------------------------------------------------------
```{r}
print_section(position_data, 'academic_articles')
```
Grants, Fellowships, and Awards {data-icon=money}
--------------------------------------------------------------------------------
```{r}
print_section(position_data, "honors")
```
References {data-icon=people-group}
--------------------------------------------------------------------------------
```{r}
print_section(position_data, "referees")
```