This repository holds various templates for dynamically generating a cv with the rmarkdown
and pagedown
R packages, illustrated with my personal resumé.
(NOTE: 1-3 only displays properly in Chrome, as some aspects of CSS Paged Media are only supported by this browser):
- Paged, academic resume (one-column-paged-academic.Rmd)
- Paged, 2-column brief resume (two-column-paged-brief.Rmd)
- Paged, 1-column resume (one-column-paged.Rmd)
- Ordinary scrolling HTML resume (one-column.Rmd)
- Ordinary scrolling HTML resume, formatted in the style of an old version of my personal website (website-cv.Rmd)
- (For an in-practice example of the website cv, see the current version on my website)
The pagedown
package lets you output an R Markdown file to paged HTML content which can then be saved as PDF.
This means you can use R Markdown to programmatically pull out content from some spreadsheet with our CV data, output it to a paged format, do the styling with CSS, then save as PDF and/or host it online. Brilliant!
Nick Strayer's excellent data-driven cv) package, as well as the base format for resumés provided by pagedown
(pagedown::html_resume
), make this easy to do.
However, their available layouts don't really suit my tastes (especially for an academic CV), so I developed my own paged formats.
My currently favoured format for academic purposes (example 1) was inspired by, amongst others, the resumé of Matthew Kay:
The two-column resume layout I use for brief, professional 2-page resumés. I originally made this layout in Microsoft Word (!). After I became enamoured with R Markdown, I at some point set out to recreate it with pagedown
(example 2):
Each resumé is generated by an R Markdown file that pulls in content from _content/cv_entries.csv and _content/publications.csv.
The CSV files with the content are local copies of the corresponding tabs in this google sheet, which holds most of the content for my website.
The R script _content/sync_w_gsheets.R grabs the current content of the 'cv_entries' and the 'publications' tabs in the google sheet and stores it in the _content folder.
To use this for your own CV, download or clone the GitHub repo: https://github.com/ulyngs/pagedown-cv/
Then replace the content in the CSV files with your own stuff and tweak the .Rmd files accordingly.