Academic CV built using R - updated automatically from Google Scholar.
cv/cv.Rmd: CV structure implemented as an{rmarkdown}document.data/*.csv: Data on each CV subcategory.scripts/install.R: Installs/loads allRdependencies using the{pacman}📦.
- The
{vitae}📦 is used to provide a CV template. {tidyverse}:tool: are used for data read in and manipulation.{here}📦 for path management.{scholar}📦 is used to pull papers from Google Scholar.{bib2df}📦 is used to organise Google Scholar results into bibtex format for easier manipulation.
Uses the cv/nature.csl file to format the citation styles. This is an edited version of the standard Nature format. It was edited using https://editor.citationstyles.org/visualEditor/ - allowing multiple named authors and the addition of the note field.
Rscript pubs.r
render cv.Rmd
2024-05-06: bibliography_entries seems to be causing an issue - mitchelloharawild/vitae#251. To overcome this, render as normal and if it errors then run
tmpfile <- "cv_bristol/cv.tex"
a <- gsub("\\\\leavevmode", "\\\\item \\\\leavevmode", readLines(tmpfile))
writeLines(a, tmpfile)then in the cv_bristol dir
xelatex cv.texGet concise list of grants
library(dplyr)
a <- read.csv("data/grants.csv")
a %>%
mutate(
start=as.Date(start, format="%d/%m/%Y"),
end=as.Date(end, format="%d/%m/%Y")
) %>%
arrange(desc(start)) %>%
mutate(
s=paste0(
"'", title, "'. ", funder, ". ", role, ". ", amount, currency, ". ", start, " - ", end, "."
)) %>% {.$s}