Skip to content

Commit 50c00c5

Browse files
setup GHA
1 parent 832aca6 commit 50c00c5

File tree

14 files changed

+151
-1158
lines changed

14 files changed

+151
-1158
lines changed

.config/rstudio/rstudio-prefs.json

Lines changed: 0 additions & 47 deletions
This file was deleted.

.devcontainer/devcontainer.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
on:
2+
push:
3+
branches: main
4+
5+
name: Render CV
6+
7+
jobs:
8+
render:
9+
name: Render CV
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out repository
13+
uses: actions/checkout@v4
14+
- uses: r-lib/actions/setup-r@v2
15+
- uses: r-lib/actions/setup-pandoc@v2
16+
- uses: r-lib/actions/setup-tinytex@v2
17+
- uses: r-lib/actions/setup-renv@v2
18+
- name: Render CV
19+
run: Rscript -e 'rmarkdown::render("cv.Rmd", output_format = "vitae::awesomecv", output_dir = "docs/")'
20+
- name: Deploy to GitHub pages 🚀
21+
if: github.event_name != 'pull_request'
22+
uses: JamesIves/github-pages-deploy-action@v4
23+
with:
24+
clean: false
25+
branch: gh-pages
26+
folder: docs

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,6 @@ vignettes/*.pdf
3737

3838
# R Environment Variables
3939
.Renviron
40+
41+
# Other
42+
docs/

cv.Rmd

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,14 @@ knitr::opts_chunk$set(echo = FALSE,
1919
warning = FALSE,
2020
message = FALSE)
2121
library(vitae)
22-
library(tidyverse)
23-
library(googlesheets4)
24-
ss <- gs4_get(gs4_find("cv_yanagimoto"))
22+
library(here)
2523
```
2624

2725

2826
# Education
2927

3028
```{r EDUCATION}
31-
read_sheet(ss, sheet = "education") |>
29+
read.csv(here("data", "education.csv")) |>
3230
detailed_entries(
3331
with = degree,
3432
what = institution,
@@ -40,10 +38,14 @@ read_sheet(ss, sheet = "education") |>
4038

4139
# Research
4240

41+
```{r}
42+
research <- read.csv(here("data", "research.csv"))
43+
```
44+
4345
## Working Papers
4446

4547
```{r}
46-
read_sheet(ss, sheet = "research") |>
48+
research |>
4749
filter(type == "working_paper") |>
4850
detailed_entries(
4951
with = title,
@@ -53,12 +55,10 @@ read_sheet(ss, sheet = "research") |>
5355
)
5456
```
5557

56-
57-
5858
## Work in Progress
5959

6060
```{r}
61-
read_sheet(ss, sheet = "research") |>
61+
research |>
6262
filter(type == "work_in_progress") |>
6363
detailed_entries(
6464
with = title,
@@ -70,7 +70,7 @@ read_sheet(ss, sheet = "research") |>
7070
## Conference and Seminar Presentations
7171

7272
```{r}
73-
read_sheet(ss, sheet = "conference") |>
73+
read.csv(here("data", "conference.csv")) |>
7474
detailed_entries(
7575
with = title,
7676
why = detail,
@@ -84,7 +84,7 @@ read_sheet(ss, sheet = "conference") |>
8484
## Research
8585

8686
```{r EMPLOYMENT}
87-
read_sheet(ss, sheet = "job") |>
87+
read.csv(here("data", "job.csv")) |>
8888
detailed_entries(
8989
with = title,
9090
what = institution,
@@ -97,7 +97,7 @@ read_sheet(ss, sheet = "job") |>
9797
## Teaching
9898

9999
```{r TEACHING}
100-
read_sheet(ss, sheet = "teaching") |>
100+
read.csv(here("data", "teaching.csv")) |>
101101
detailed_entries(
102102
with = title,
103103
what = institution,
@@ -111,7 +111,7 @@ read_sheet(ss, sheet = "teaching") |>
111111
# Scholarships
112112

113113
```{r HONORS}
114-
read_sheet(ss, sheet = "honor") |>
114+
read.csv(here("data", "honor.csv")) |>
115115
detailed_entries(
116116
with = accomplishment,
117117
why = detail,
@@ -125,7 +125,7 @@ read_sheet(ss, sheet = "honor") |>
125125
# Skills
126126

127127
```{r SKILLS}
128-
read_sheet(ss, sheet = "skill") |>
128+
read.csv(here("data", "skill.csv")) |>
129129
detailed_entries(
130130
with = area,
131131
what = skills

cv.pdf

-10 Bytes
Binary file not shown.

data/conference.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
title,month,year,location,detail
2+
Society of Economics of the Household (SEHO) meeting,June,2023,"Copenhagen, Denmark",
3+
47th Simposio de la Asociación Española de Economía (SAEe),December,2022,"Valencia, Spain",

data/education.csv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
degree,startMonth,startYear,endMonth,endYear,institution,location,detail
2+
PhD. Candidate in Economics,September,2021,,Present,CEMFI,"Madrid, Spain",
3+
Master in Economics and Finance,September,2019,June,2021,CEMFI,"Madrid, Spain",
4+
Bachelor in Economics,April,2014,March,2019,The University of Tokyo,"Tokyo, Japan",

data/honor.csv

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
accomplishment,startMonth,startYear,endMonth,endYear,location,detail
2+
CEMFI Ph.D scholarship,September,2021,,Present,"Madrid, Spain",
3+
Maria de Maeztu Exploration grant (€4824) by CEMFI ,January,2024,December,2024,"Madrid, Spain",
4+
Maria de Maeztu Exploration grant (€4335) by CEMFI ,May,2023,December,2023,"Madrid, Spain",
5+
María de Maeztu Ph.D. track Fellowship,September,2020,August,2021,"Madrid, Spain",
6+
CEMFI Ph.D. track full scholarship,September,2019,August,2020,"Madrid, Spain",

data/job.csv

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
title,institution,startMonth,startYear,endMonth,endYear,location,detail
2+
Research Assistant to Doctor Dmitry Arkhangelsky,CEMFI,September,2023,,Present,"Madrid, Spain",
3+
Research Assistant to Doctor Tom Zohar,CEMFI,September,2021,June,2023,"Madrid, Spain",
4+
Ph.D. Internship in Econ | AI Lab,"CyberAgent, Inc.",July,2022,September,2022,"Tokyo, Japan",
5+
Research Assistant to Professor Paula Bustos,CEMFI,July,2020,August,2020,"Madrid, Spain",
6+
Research Assistant in Survey Research Center,Recruit Works Institute,January,2019,July,2019,"Tokyo, Japan",
7+
Research Assistant to Professor Hidehiko Ichimura,The University of Tokyo,September,2016,June,2019,"Tokyo, Japan",

data/research.csv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
type,title,coauthors,date,detail
2+
working_paper,"Why not Choose a Better Job? Flexibility, Social Norms, and Gender Gaps in Japan",,2024,
3+
working_paper,Flexible Analysis of Individual Heterogeneity in Event Studies,joint with Dmitry Arkhangelsky and Tom Zohar,2024,
4+
work_in_progress,A Quantitative Model of Non/Late Marriage,,,

data/skill.csv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
area,skills
2+
Languages,"Japanese (Naitive), English (Fluent), Spanish (Intermediate)"
3+
Programming Languages,"R, Julia, Python, Matlab, Stata"
4+
Markup Languages,"LaTeX, Markdown, Rmarkdown, Quarto, HTML&CSS"

data/teaching.csv

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
title,institution,startMonth,startYear,endMonth,endYear,location,detail
2+
Teaching Assistant in Time-series Econometrics,CEMFI,January,2024,March,2024,"Madrid, Spain",
3+
Teaching Assistant in International Economics,CEMFI,January,2023,March,2023,"Madrid, Spain",
4+
Teaching Assistant in Mathematics,CEMFI,September,2021,December,2021,"Madrid, Spain",

0 commit comments

Comments
 (0)