Functions to parse rows from your CV data.

List various ways of writing a person's name.

parse_name(name, text = NULL)

parse_location(r, add_link = TRUE)

parse_daterange(r)

parse_bullets(r, concise = FALSE, check_icons = TRUE)

parse_news(r, title = "News", icon = "newspaper")

parse_education(
  wd = "./",
  file = file.path(wd, "cv_data", "education.csv"),
  include = c("logo", "institution", "degree", "program", "focus", "thesis", "bullets"),
  concise = FALSE
)

parse_publications(
  file = file.path("cv_data", "publications.csv"),
  name = "Leonardo da Vinci",
  types = NULL
)

parse_talks(file = file.path("cv_data", "talks.csv"), types = NULL)

parse_experience(
  file = file.path("cv_data", "experience.csv"),
  select = NULL,
  types = NULL,
  concise = FALSE
)

parse_tools(
  wd = "./",
  file = file.path(wd, "cv_data", "tools.csv"),
  types = NULL,
  add_index = TRUE,
  add_logos = TRUE
)

parse_profile(
  wd = "./",
  file = file.path(wd, "cv_data", "profile.csv"),
  types = NULL,
  concise = FALSE,
  sep = "\n\n",
  collapse = "<br>",
  div = "h4",
  img_width = "100px",
  icn_width = "12px",
  prefix = NULL
)

parse_affiliations(
  wd = "./",
  types = "affiliation",
  sep = "\n\n",
  collapse = "\n\n",
  div = NULL,
  img_width = "150px",
  prefix = "### "
)

parse_grants_totals(dt)

parse_grants(
  file = file.path("cv_data", "grants.csv"),
  types = NULL,
  add_totals = FALSE
)

parse_skills(file = file.path("cv_data", "skills.csv"), types = NULL)

Arguments

name

Your name to put on the CV.

text

Input text to search for all variations of name and surround it with bold tags (e.g. "Brian M Schilder" --> "**Brian M Schilder**").

r

One row from a data.table.

add_link

Add link.

concise

Use the concise layout.

check_icons

Check icons.

title

Title.

icon

Icon.

wd

Working directory where the "cv_data" and "img" subfolders are stored.

file

Data file path.

include

Include optional elements.

types

Subset the `Type` column.

select

Subset by "Select" column values.

add_index

Add index.

add_logos

Add logos.

sep

a character string to separate the terms. Not NA_character_.

collapse

an optional character string to separate the results. Not NA_character_.

div

HTML div class.

img_width

Image width.

icn_width

Icon width.

prefix

Prefix.

dt

Grants data.table.

add_totals

Add totals.

Value

Formatted data.

Functions

  • parse_name(): parse_

  • parse_location(): parse_

  • parse_daterange(): parse_

  • parse_bullets(): parse_

  • parse_news(): parse_

  • parse_education(): parse_

  • parse_publications(): parse_

  • parse_talks(): parse_

  • parse_experience(): parse_

  • parse_tools(): parse_

  • parse_profile(): parse_

  • parse_affiliations(): parse_

  • parse_grants_totals(): parse_

  • parse_grants(): parse_

  • parse_skills(): parse_