Skip to content

Templates for generating a CV with R Markdown + entries in a spreadsheet

Notifications You must be signed in to change notification settings

ming-cui/pagedown-cv

 
 

Repository files navigation

Welcome to pagedown-cv

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):

  1. Paged, academic resume (one-column-paged-academic.Rmd)
  2. Paged, 2-column brief resume (two-column-paged-brief.Rmd)
  3. Paged, 1-column resume (one-column-paged.Rmd)
  4. Ordinary scrolling HTML resume (one-column.Rmd)
  5. Ordinary scrolling HTML resume, formatted in the style of an old version of my personal website (website-cv.Rmd)
  6. (For an in-practice example of the website cv, see the current version on my website)

Why?

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.

Which format do you use?

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):

How does it work?

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.

How do I use it?

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.

About

Templates for generating a CV with R Markdown + entries in a spreadsheet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 98.2%
  • R 1.8%