Skip to contents

A drop-in for qualtRics::fetch_survey() that keeps working when a survey moves to Alchemer. Until the survey is cut over it calls qualtRics::fetch_survey() with every argument given. Once cutover.R has listed it in the cutover registry it returns the frozen Qualtrics responses plus the Alchemer responses, with Alchemer answers in the Qualtrics export columns and types (including the Qualtrics SC score columns where the survey has a scoring key).

Usage

fetch_survey_any(
  surveyID,
  start_date = NULL,
  end_date = NULL,
  ...,
  time_zone = "America/Los_Angeles"
)

Arguments

surveyID

The Qualtrics survey id (SV_...).

start_date, end_date

Optional dates; responses recorded in this window are kept.

...

Passed to qualtRics::fetch_survey() before cutover; ignored after it, when the frozen export (default qualtRics settings, America/Los_Angeles) sets the format.

time_zone

Time zone for the Alchemer timestamps after cutover.

Value

A data frame shaped like the Qualtrics export.