GRV: Experience of Groove Questionnaire (page per item)

View source: R/GRV_single_item_pages.R

GRVR Documentation

Experience of Groove Questionnaire (page per item)

Description

This functions defines an Experience of Groove Questionnaire \insertCiteEGQPapergroovescale module with one page per item for incorporation in a psychTestR timeline.

Usage

GRV(
 
    url = "https://raw.githubusercontent.com/KilianSander/groovescale/master/inst/www/audio/jingle.mp3",
  label = "GRV",
  type = tools::file_ext(url),
  save_answer = TRUE,
  on_complete = NULL,
  arrange_choices_vertically = length(choices) > 2L,
  wait = FALSE,
  loop = FALSE,
  admin_ui = NULL,
  show_controls = TRUE,
  allow_download = FALSE,
  dict = groovescale_dict,
  information = TRUE,
  welcome = FALSE,
  ...
)

Arguments

url

URL to the audio. Can be an absolute URL (e.g. "http://mysite.com/audio.mp3") or a URL relative to the /www directory (e.g. "audio.mp3").

label

Label to identify all answers corresponding to the audio given under url

type

Audio type (e.g. 'mp3'). Defaults to the provided file extension.

save_answer

Whether or not to save the answer.

arrange_choices_vertically

Whether to arrange the response buttons vertically (the default) as opposed to horizontally.

wait

Whether to wait for the audio to finish before displaying the response buttons.

loop

Whether the audio should loop.

admin_ui

Optional UI component for the admin panel.

show_controls

Whether or not to show audio controls to the participant, so that they can control audio playback.

allow_download

Whether the participant is given a button to download the audio file; only relevant if show_controls is TRUE.

dict

(i18n_dict) The dictionary used for internationalisation.

information

If TRUE displays a page before the actual questionnaire informing the participant that the following pages refer to the same audio example

welcome

If TRUE and information is TRUE displays a welcome message.

...

Further arguments to be passed to GRV()

References

\insertAllCited

KilianSander/groovescale documentation built on July 21, 2023, 11:04 p.m.