Skip to contents

Render certificates of completion for a participant in a cohort

Usage

render_certificate(
  cohort_name,
  participant_name,
  start_date,
  end_date,
  cohort_website,
  output_dir = "."
)

Arguments

cohort_name

The name of the cohort

participant_name

The name of the participant

start_date

cohort start date

end_date

cohort end date

cohort_website

cohort website

output_dir

output directory for certificates. Default "."

Value

Saves the file to your current working directory, and returns the path to the file

Examples

if (FALSE) {
render_certificate(cohort_name = "2023-fred-hutch",
                   participant_name = "Name",
                   start_date = "Sep 19",
                   end_date = "Oct 19",
                   cohort_website = "https://openscapes.github.io/2023-fred-hutch/")
}