| annotation_questions | R Documentation |
Ready-made questions for annotation_task. Each question is a
list, so you can change them or add your own (see Details).
annotation_questions(which = c("face_check", "emotion", "intensity"))
which |
Names of the ready-made questions, in the order they are asked:
|
A question is a list with
idA name in lower case: letters, digits and underscores.
type"single" (one of a few options) or
"likert" (a whole number from min to max).
promptThe question as coders read it.
optionsFor "single": the answers, or
options_from = "classes" for the task's classes. Optional
labels: a named list of the text shown for each answer.
min, maxFor "likert", with optional
anchors = list(min = "...", max = "...").
show_ifOptional: ask only after another question got one
of these answers, as in list(face_check = "ok").
revealOptional, for items with a reference label and a
model prediction: TRUE asks the question only once they are
shown, which with blind = TRUE is after the other questions are
answered.
requiredFALSE lets coders leave it unanswered.
A list of questions.
annotation_task
annotation_questions(c("face_check", "emotion"))
# Add a question of your own
gaze <- list(id = "gaze", type = "single", prompt = "Where does the person look?",
options = c("camera", "away", "closed"), show_if = list(face_check = "ok"))
questions <- c(annotation_questions(), list(gaze))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.