Learn R Programming

qualtRics (version 3.1.6)

fetch_mailinglist: Download a mailing list from Qualtrics

Description

Download a mailing list from Qualtrics

Usage

fetch_mailinglist(mailinglistID)

Arguments

mailinglistID

String. Unique ID for the mailing list you want to download. Returned as id by the all_mailinglists function.

Details

If the request to the Qualtrics API made by this function fails, the request will be retried. If you see these failures on a 500 error (such as a 504 error) be patient while the request is retried; it will typically succeed on retrying. If you see other types of errors, retrying is unlikely to help.

Examples

Run this code
if (FALSE) {
# Register your Qualtrics credentials if you haven't already
qualtrics_api_credentials(
  api_key = "",
  base_url = ""
)

# Retrieve a list of all mailing lists
mailinglists <- all_mailinglists()

# Retrieve a single mailing list
mailinglist <- fetch_mailinglist(mailinglists$id[1])
}

Run the code above in your browser using DataLab