Skip to contents

Fetch a list of Qualtrics surveys by name via the Qualtrics API

Usage

fetch_surveys(survey_names, ..., time_zone = "America/Chicago")

Arguments

survey_names

A vector of survey names as they appear in the Qualtrics UI.

...

Additional arguments to be passed to qualtRics::fetch_survey().

time_zone

Timezone adjustment to be passed to qualtRics::fetch_survey(). A list of acceptable names for time_zone can be found in the Qualtrics API documentation.

Value

For a single value supplied to survey_names: a tibble of the survey responses from qualtRics::fetch_survey(). For multiple survey_names, a tibble with colums survey_name, survey_id, and responses. The responses

contains the responses for each survey as returned by qualtRics::fetch_survey().

Examples

if (FALSE) {
# fetch a single survey by name
my_survey <- fetch_surveys("my cool survey")

# fetch multiple surveys by name
my_surveys <- fetch_surveys(c("my cool survey", "my lame survey"))
}