Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.5%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: svenbuerki
  • Language: HTML
  • Default Branch: master
  • Size: 188 MB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 5 years ago · Last pushed 7 months ago
Metadata Files
Readme Citation

README.md

My pagedown rendered CV

GitHub webpage

You can access my CV here:

https://svenbuerki.github.io/CV/

Information on packages and files

This repo contains the source-code and results of my CV built with the pagedown package and a modified version of the 'resume' template.

The main files are:

  • index.Rmd: Source template for the cv, contains a variable PDF_EXPORT in the header that changes styles for pdf vs html.
  • index.html: The final html output of the template. View it at TBD.
  • index.pdf: The final pdf version of the CV.
  • positions.csv: A csv with columns encoding the various fields needed for a position entry in the CV. A column section is also available so different sections know which rows to use.
  • profile.json and citation.json: Citation stats from Google Scholar queried by scholar package.
  • citation.R: Source code to generated profile.json and citation.json, as well as citation trend figure, citation.png.

The source code was derived from https://github.com/nstrayer/cv, with modifications:

  • add order column in positions.csv to adjust item order.
  • remove time if it is identical to previous item.
  • add citation stats.

Owner

  • Name: Sven Buerki
  • Login: svenbuerki
  • Kind: user
  • Location: Boise
  • Company: Boise State University

Citation (citation.R)

library(scholar)
library(jsonlite)
library(dplyr)
library(ggplot2)
library(ggstance)
library(ggimage)
library(ggtree)


#Sys.setenv(http_proxy="http://127.0.0.1:43723")


id <- 'hj0LXQcAAAAJ&hl'

profile <- tryCatch(get_profile(id), error = function(e) return(NULL))
if (!is.null(profile)) {
    profile$date <- Sys.Date()
    cat(toJSON(profile), file ="profile.json")
}

cites <- tryCatch(get_citation_history(id), error = function(e) return(NULL))

if (is.null(cites)) {
    cites <- tinyscholar::tinyscholar(id)$citation

    profile = jsonlite::fromJSON("profile.json")
    if (profile$total_cites < cites[1,2])
        profile$total_cites <- cites[1,2]
    cat(toJSON(profile), file ="profile.json")


    cites <- cites[-1, ] # remove 'total' row
    names(cites) <- c("year", "cites")
    cites$year <- as.numeric(cites$year)
}

if (!is.null(cites)) {
    cat(toJSON(cites), file = "citation.json")
}

cites <- fromJSON("citation.json")
cites <- slice(cites, tail(row_number(), 6))
cites$year <- factor(cites$year)

p <- ggplot(cites, aes(cites, year)) + 
    geom_barh(stat='identity', fill = "#96B56C") + 
    #geom_text2(aes(label=cites, subset = cites > 500), hjust=1.1, size=5) + 
    labs(caption = "data from Google Scholar") +
    scale_x_continuous(position="top") +
    theme_minimal(base_size=14) + xlab(NULL) + ylab(NULL) +
    theme(panel.grid.major.y = element_blank(), 
          panel.grid.minor = element_blank(),
          panel.grid.major.x = element_line(linetype="dashed"),
          plot.caption=element_text(colour='grey30')) +
    theme_transparent() 

ggsave(p, file = "citation.png", width=3.5, height=4, bg = "transparent")


## library(magick)
## p <- image_read("citation.png")
## p <- image_transparent(p, "white")
## image_write(p, path="citation.png")

GitHub Events

Total
  • Push event: 3
Last Year
  • Push event: 3