Skip to contents

Given a data.frame of Champions participants and a Cohort registry, create a certificate for each participant

Usage

create_batch_certificates(
  registry,
  participants,
  cohort_name,
  output_dir = "."
)

Arguments

registry

data.frame from Google Sheet of Champions registry ("OpenscapesChampionsCohortRegistry")

participants

data.frame from Google Sheet of Champions participants ("OpenscapesParticipantsMainList")

cohort_name

Name of the cohort as it appears in registry and participants

output_dir

output directory for certificates. Default "."

Value

path to the directory containing the certificates

Examples

if (FALSE) { # \dontrun{
registry <- read_sheet("path-to-registry")
participants <- read_sheet("path-to-participants")

create_batch_certificates(
  registry,
  particpants,
  "2023-fred-hutch", 
  "~/Desktop/fred-hutch-certificates"
)
} # }