GRV_standalone: Standalone Experience of Groove Questionnaire (page per item)

View source: R/GRV_standalone.R

GRV_standaloneR Documentation

Standalone Experience of Groove Questionnaire (page per item)

Description

This function launches a standalone testing session for the Experience of Groove Questionnaire \insertCiteEGQPapergroovescale with one page per item.

Usage

GRV_standalone(
 
    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 = TRUE,
  wait = FALSE,
  loop = FALSE,
  admin_ui = NULL,
  show_controls = TRUE,
  allow_download = FALSE,
  information = TRUE,
  admin_password = "groove",
  researcher_email = NULL,
  validate_id = "auto",
  languages = groovescale::languages(),
  ...
)

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.

information

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

admin_password

Password to access the admin panel.

researcher_email

Researcher's email; used in participant help message.

validate_id

Optional validation function. See validate in page for further information.

languages

Character vector of languages that may be selected via the URL parameter 'language'. If no language is provided by the URL parameter, defaults to the first language in this vector. Languages should be encoded according to ISO 639-2 conventions. Possible languages are shown with languages.

...

Further arguments to be passed to GRV_standalone()

References

\insertAllCited

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