make_santa_data: Make secret santa data

View source: R/make-santa-data.R

make_santa_dataR Documentation

Make secret santa data

Description

This function turns the config data into secret santa assignments and composes the customized e-mail message. This function is called from run_secret_santa but is exported in case the user wishes to study how the package makes assignments and build messages.

Usage

make_santa_data(config)

Arguments

config

the parsed secretsanta config obtained by passing the config JSON file through jsonlite::fromJSON.


ataustin/secretsanta documentation built on Nov. 27, 2024, 7:39 p.m.