getSurveys

0th

Percentile

Retrieve a data frame of all active surveys on Qualtrics

Retrieve a data frame of all active surveys on Qualtrics

Usage
getSurveys()
See Also

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

Aliases
  • getSurveys
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 a single survey
mysurvey <- getSurvey(surveyID = surveys$id[6],
                      save_dir = tempdir(),
                      verbose=TRUE)
# You can use the same parameters as those found in the qualtrics API documentation
# Found here: https://api.qualtrics.com/docs/csv
mysurvey <- getSurvey(surveyID = surveys$id[6],
                      save_dir = tempdir(),
                      startDate = "2017-01-01",
                      endDate = "2017-01-31",
                      limit = 100,
                      useLabels = TRUE,
                      seenUnansweredRecode = "UNANS",
                      verbose=TRUE)
# }
Documentation reproduced from package qualtRics, version 3.0, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.