prepare_question_base: FIlter a set of question based on your needs

Description Usage Arguments Examples

View source: R/prepare_question_base.R

Description

Filters a set of questions for further use in a pub quiz slide presentation. The function expects that the supplied data frame contains variables with the following names: description, audio, question_image

Usage

1
2
3
4
5
6
7
prepare_question_base(
  db,
  n = 10,
  include_text = TRUE,
  include_audio = TRUE,
  include_image = FALSE
)

Arguments

db

database object

n

number of questions to keep

include_text

Can the set contain questions with text?

include_audio

Can the set contain questions with audio?

include_image

Can the set contain questions with images?

Examples

1

Alaburda/pubquizr documentation built on Sept. 25, 2020, 12:02 a.m.