Convert a data frame to a workshop/guest lecture entry
Description
Convert a data frame to a workshop/guest lecture entry
Usage
workshop_entry(
data,
title = "title",
type = "type",
venue = "venue",
venue_url = NULL,
location = "location",
date = "date",
links = NULL
)
Arguments
data
|
A data frame with workshop information
|
title
|
The column name for the title. Default is "title"
|
type
|
The column name for type. Default is "type"
|
venue
|
The column name for the course/venue. Default is "venue"
|
venue_url
|
The column name for venue URL. Default is NULL
|
location
|
The column name for the location. Default is "location"
|
date
|
The column name for the date. Default is "date"
|
links
|
A list of column name pairs for icons. Default is NULL
|
Value
A string with the workshop entry
Examples
library("apatypstcv")
workshops <- data.frame(
title = "A.I. and Legal Decision Making",
type = "Guest Lecturer",
venue = "Law and Psychology, UNL",
location = "Lincoln, NE",
date = "Fall 2024",
website = "https://example.com",
slides = ""
)
workshop_entry(workshops, links = list(c("website", "globe")))
```{=typst}
#resume-entry(title: [Guest Lecturer: A.I. and Legal Decision Making],location: [Lincoln, NE],date: [Fall 2024],description: [#text(fill: color-gray)[Law and Psychology, UNL]],icons: [#link("https://example.com")[#fa-icon("globe")]],)
```