run_demo_quiz: Run demo quiz

Description Usage Arguments Value

View source: R/run_demo_quiz.R

Description

Setup the quiz, create questions, evaluate answers, favourite question and final results with demo data.

Usage

1
2
3
4
5
6
run_demo_quiz(
  questions = demo_questions,
  participants = get_demo_participants(),
  answers = demo_answers,
  create_sheets = FALSE
)

Arguments

questions

A data frame with questions (see [demo_questions] for format).

participants

A data frame with participants (see [demo_participants] for format).

answers

A data frame with answers (see [demo_answers] for format).

create_sheets

If TRUE, sheets for answers will be created on Google Drive as they would be in a real quiz and trashed at the end.

Value

Creates quiz HTML files and results images.


martina-starc/peRson documentation built on April 14, 2021, 3:48 p.m.