Functions to get icons for respective CV data categories.

icon_link(link, text_before = NULL, text_after = link, icon)

icon_dict(
  items = NULL,
  dict = list(education = "graduation-cap", skills = "check", expertise = "check",
    publications = "file-text", preprints = "file-edit", acknowledgements = "file",
    reviewerships = "file", internal_talks = "person-chalkboard", invited_talks =
    "person-chalkboard", conference_talks = "person-chalkboard", posters =
    "person-chalkboard", experience = "suitcase", teaching = "chalkboard-teacher",
    packages = "wrench", websites = "computer", databases = "database", grants =
    "dollar", awards = "award", affiliations = "building-columns", 
    
    data_visualisation = "circle-nodes", extracurricular = "icons"),
  as_fa = FALSE,
  as_icon = FALSE,
  as_toc = FALSE,
  collapse = "<br>",
  icn_width = "12px"
)

icon_sub(text)

Arguments

link

URL to use.

text_before

HTML element text before image.

text_after

HTML element text after image.

icon

Icon name.

items

A subset of items to get from the autoCV::icon_dict.

dict

Icon dictionary.

as_fa

Return as fa icon id.

as_icon

Return as HTML icon object (made with fa).

as_toc

Return as Table of Contents.

collapse

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

icn_width

Icon width.

text

Text to run substitution on.

Value

Formatted data.

Functions

  • icon_link(): icon_

  • icon_dict(): icon_

  • icon_sub(): icon_