getSurveyQuestions

0th

Percentile

Retrieve a data frame containing question IDs and labels

Retrieve a data frame containing question IDs and labels

Usage
getSurveyQuestions(surveyID)
Arguments
surveyID

String. Unique ID for the survey you want to download. Returned as 'id' by the getSurveys function.

See Also

See https://api.qualtrics.com/docs for documentation on the Qualtrics API.

Aliases
  • getSurveyQuestions
Examples
# NOT RUN {
# Register your Qualtrics credentials if you haven't already
registerOptions(api_token="<YOUR-API-TOKEN>", root_url="<YOUR-ROOT-URL>")
# Retrieve a list of surveys
surveys <- getSurveys()
# Retrieve questions for a survey
questions <- getSurveyQuestions(surveyID = surveys$id[6])
# Retrieve a single survey, filtering for questions I want.
mysurvey <- getSurvey(surveyID = surveys$id[6],
                      save_dir = tempdir(),
                      includedQuestionIds = c("QID1", "QID2", "QID3"),
                      verbose=TRUE)
# }
Documentation reproduced from package qualtRics, version 3.0, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.