Learn R Programming

bracketeer (version 0.1.1)

build: Build a live tournament runtime from a specification

Description

Build a live tournament runtime from a specification

Usage

build(x, participants)

Value

A tournament runtime object.

Arguments

x

A bracketeer_spec or tournament_spec object.

participants

Character vector of participant names, or a data.frame with a name column.

Examples

Run this code
my_spec <- spec() |>
  swiss("open", rounds = 3) |>
  single_elim("playoffs", take = top_n(4))

# Materialize with participants
trn <- build(my_spec, paste("Team", LETTERS[1:8]))

Run the code above in your browser using DataLab