Convert a data frame to a resume entry

Description

Convert a data frame to a resume entry

Usage

resume_entry(
  data,
  title = "title",
  title_url = NULL,
  location = "location",
  date = "date",
  description = "description",
  description_url = NULL,
  description2 = NULL,
  icons = NULL,
  details = NULL
)

Arguments

data A data frame with columns for title, location, date, and description
title The column name for the title. Default is "title"
title_url The column name for title URL. Default is NULL
location The column name for the location. Default is "location"
date The column name for the date. Default is "date"
description The column name for the description. Default is "description"
description_url The column name for description URL. Default is NULL
description2 The column name for a secondary description line. Default is NULL
icons The column name for icon links. Default is NULL
details The column name for additional details. Default is NULL

Value

A string with the resume entry

Examples

library("apatypstcv")

work <- data.frame(
  title = c("Research Assistant", "Lab Manager"),
  location = c("Lincoln, NE", "Boston, MA"),
  date = c("2020 - Present", "2018 - 2020"),
  description = c("University of Nebraska", "Harvard University"),
  description_url = c("https://unl.edu", "https://harvard.edu"),
  description2 = c("Conducted research on decision making", "Managed lab operations")
)

resume_entry(work, description_url = "description_url", description2 = "description2")
```{=typst}
#resume-entry(title: [Research Assistant],location: [Lincoln, NE],date: [2020 - Present],description: [#link("https://unl.edu")[University of Nebraska] #linebreak() #text(fill: color-gray)[Conducted research on decision making]],)
#resume-entry(title: [Lab Manager],location: [Boston, MA],date: [2018 - 2020],description: [#link("https://harvard.edu")[Harvard University] #linebreak() #text(fill: color-gray)[Managed lab operations]],)
```