View source: R/GRV_standalone.R
GRV_standalone | R Documentation |
This function launches a standalone testing session for the Experience of Groove Questionnaire \insertCiteEGQPapergroovescale with one page per item.
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(),
...
)
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 |
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 |
information |
If set |
admin_password |
Password to access the admin panel. |
researcher_email |
Researcher's email; used in participant help message. |
validate_id |
Optional validation function. See |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.