Create Cohort Certificates
create-certificates.Rmd
Create a single certificate
For a single certificate, you can supply all of the values manually:
create_certificate(
cohort_name = "2023-fred-hutch",
first_name = "First Name",
last_name = "Last Name",
start_date = "Sep 19",
end_date = "Oct 19",
cohort_website = "https://openscapes.github.io/2023-fred-hutch/"
)
Create a batch of certificates for a cohort
First load data from a cohort google sheet:
registry <- read_sheet("https://docs.google.com/spreadsheets/d/1Ys9KiTXXmZ_laBoCV2QWEm7AcnGSVQaXvm2xpi4XTSc") # OpenscapesChampionsCohortRegistry
participants <- read_sheet("URL to OpenscapesParticipantsMainList")
Then call the create_batch_certificates()
function to
create the certificates:
create_batch_certificates(
registry = registry,
participants = participants,
cohort_name = "2023-fred-hutch",
output_dir = "~/Desktop/fred-hutch-certificates"
)