Skip to contents

A drop-in for qualtRics::metadata(surveyID, questions = ...) for reading choice lists. Until the survey is cut over it calls qualtRics::metadata(). Once cutover.R has listed it in the cutover registry it reads the Alchemer survey instead and returns the same shape: $questions, one entry per question whose Alchemer shortname is in questions (the Qualtrics export tag), each with questionName (that tag), questionText and choices (choiceText, recode). Options hidden in Alchemer (disabled) are left out. Dropdowns and radio questions give their options; the text boxes that replaced long Qualtrics dropdowns give the list published by the autocomplete job (Connect 325).

Usage

metadata_any(surveyID, questions)

Arguments

surveyID

The Qualtrics survey id (SV_...).

questions

Export tags (Alchemer shortnames) to return.

Value

A list with a questions element; empty when Alchemer has none of questions. After cutover it has a source attribute of "alchemer", so callers can skip Qualtrics-only reads (QSF display logic).