Skip to content

Commit

Permalink
setup GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
kazuyanagimoto committed Apr 6, 2024
1 parent 832aca6 commit 6cc71d5
Show file tree
Hide file tree
Showing 14 changed files with 144 additions and 1,158 deletions.
47 changes: 0 additions & 47 deletions .config/rstudio/rstudio-prefs.json

This file was deleted.

15 changes: 0 additions & 15 deletions .devcontainer/devcontainer.json

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
on:
push:
branches: main

name: Render CV

jobs:
render:
name: Render CV
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- uses: r-lib/actions/setup-r@v2
- uses: r-lib/actions/setup-pandoc@v2
- uses: r-lib/actions/setup-tinytex@v2
- uses: r-lib/actions/setup-renv@v2
- name: Render CV
run: Rscript -e 'rmarkdown::render("cv.Rmd", output_format = "vitae::awesomecv", output_dir = "docs/")'
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ vignettes/*.pdf

# R Environment Variables
.Renviron

# Other
docs/
26 changes: 13 additions & 13 deletions cv.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,14 @@ knitr::opts_chunk$set(echo = FALSE,
warning = FALSE,
message = FALSE)
library(vitae)
library(tidyverse)
library(googlesheets4)
ss <- gs4_get(gs4_find("cv_yanagimoto"))
library(here)
```


# Education

```{r EDUCATION}
read_sheet(ss, sheet = "education") |>
read.csv(here("data", "education.csv")) |>
detailed_entries(
with = degree,
what = institution,
Expand All @@ -40,10 +38,14 @@ read_sheet(ss, sheet = "education") |>

# Research

```{r}
research <- read.csv(here("data", "research.csv"))
```

## Working Papers

```{r}
read_sheet(ss, sheet = "research") |>
research |>
filter(type == "working_paper") |>
detailed_entries(
with = title,
Expand All @@ -53,12 +55,10 @@ read_sheet(ss, sheet = "research") |>
)
```



## Work in Progress

```{r}
read_sheet(ss, sheet = "research") |>
research |>
filter(type == "work_in_progress") |>
detailed_entries(
with = title,
Expand All @@ -70,7 +70,7 @@ read_sheet(ss, sheet = "research") |>
## Conference and Seminar Presentations

```{r}
read_sheet(ss, sheet = "conference") |>
read.csv(here("data", "conference.csv")) |>
detailed_entries(
with = title,
why = detail,
Expand All @@ -84,7 +84,7 @@ read_sheet(ss, sheet = "conference") |>
## Research

```{r EMPLOYMENT}
read_sheet(ss, sheet = "job") |>
read.csv(here("data", "job.csv")) |>
detailed_entries(
with = title,
what = institution,
Expand All @@ -97,7 +97,7 @@ read_sheet(ss, sheet = "job") |>
## Teaching

```{r TEACHING}
read_sheet(ss, sheet = "teaching") |>
read.csv(here("data", "teaching.csv")) |>
detailed_entries(
with = title,
what = institution,
Expand All @@ -111,7 +111,7 @@ read_sheet(ss, sheet = "teaching") |>
# Scholarships

```{r HONORS}
read_sheet(ss, sheet = "honor") |>
read.csv(here("data", "honor.csv")) |>
detailed_entries(
with = accomplishment,
why = detail,
Expand All @@ -125,7 +125,7 @@ read_sheet(ss, sheet = "honor") |>
# Skills

```{r SKILLS}
read_sheet(ss, sheet = "skill") |>
read.csv(here("data", "skill.csv")) |>
detailed_entries(
with = area,
what = skills
Expand Down
Binary file modified cv.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions data/conference.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
title,month,year,location,detail
Society of Economics of the Household (SEHO) meeting,June,2023,"Copenhagen, Denmark",
47th Simposio de la Asociación Española de Economía (SAEe),December,2022,"Valencia, Spain",
4 changes: 4 additions & 0 deletions data/education.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
degree,startMonth,startYear,endMonth,endYear,institution,location,detail
PhD. Candidate in Economics,September,2021,,Present,CEMFI,"Madrid, Spain",
Master in Economics and Finance,September,2019,June,2021,CEMFI,"Madrid, Spain",
Bachelor in Economics,April,2014,March,2019,The University of Tokyo,"Tokyo, Japan",
6 changes: 6 additions & 0 deletions data/honor.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
accomplishment,startMonth,startYear,endMonth,endYear,location,detail
CEMFI Ph.D scholarship,September,2021,,Present,"Madrid, Spain",
Maria de Maeztu Exploration grant (€4824) by CEMFI ,January,2024,December,2024,"Madrid, Spain",
Maria de Maeztu Exploration grant (€4335) by CEMFI ,May,2023,December,2023,"Madrid, Spain",
María de Maeztu Ph.D. track Fellowship,September,2020,August,2021,"Madrid, Spain",
CEMFI Ph.D. track full scholarship,September,2019,August,2020,"Madrid, Spain",
7 changes: 7 additions & 0 deletions data/job.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
title,institution,startMonth,startYear,endMonth,endYear,location,detail
Research Assistant to Doctor Dmitry Arkhangelsky,CEMFI,September,2023,,Present,"Madrid, Spain",
Research Assistant to Doctor Tom Zohar,CEMFI,September,2021,June,2023,"Madrid, Spain",
Ph.D. Internship in Econ | AI Lab,"CyberAgent, Inc.",July,2022,September,2022,"Tokyo, Japan",
Research Assistant to Professor Paula Bustos,CEMFI,July,2020,August,2020,"Madrid, Spain",
Research Assistant in Survey Research Center,Recruit Works Institute,January,2019,July,2019,"Tokyo, Japan",
Research Assistant to Professor Hidehiko Ichimura,The University of Tokyo,September,2016,June,2019,"Tokyo, Japan",
4 changes: 4 additions & 0 deletions data/research.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
type,title,coauthors,date,detail
working_paper,"Why not Choose a Better Job? Flexibility, Social Norms, and Gender Gaps in Japan",,2024,
working_paper,Flexible Analysis of Individual Heterogeneity in Event Studies,joint with Dmitry Arkhangelsky and Tom Zohar,2024,
work_in_progress,A Quantitative Model of Non/Late Marriage,,,
4 changes: 4 additions & 0 deletions data/skill.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
area,skills
Languages,"Japanese (Naitive), English (Fluent), Spanish (Intermediate)"
Programming Languages,"R, Julia, Python, Matlab, Stata"
Markup Languages,"LaTeX, Markdown, Rmarkdown, Quarto, HTML&CSS"
4 changes: 4 additions & 0 deletions data/teaching.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
title,institution,startMonth,startYear,endMonth,endYear,location,detail
Teaching Assistant in Time-series Econometrics,CEMFI,January,2024,March,2024,"Madrid, Spain",
Teaching Assistant in International Economics,CEMFI,January,2023,March,2023,"Madrid, Spain",
Teaching Assistant in Mathematics,CEMFI,September,2021,December,2021,"Madrid, Spain",
Loading

0 comments on commit 6cc71d5

Please sign in to comment.