qualtRics (version 3.1.3)

column_map: Retrieve a data frame containing survey column mapping

Description

Retrieve a data frame containing survey column mapping

Usage

column_map(surveyID)

Arguments

surveyID

A string. Unique ID for the survey you want to download. Returned as `id` by the all_surveys function.

See Also

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

Examples

# NOT RUN {
# Register your Qualtrics credentials if you haven't already
qualtrics_api_credentials(
  api_key = "<YOUR-API-KEY>",
  base_url = "<YOUR-BASE-URL>"
)

# Retrieve a list of surveys
surveys <- all_surveys()

# Retrieve column mapping for a survey
mapping <- column_map(surveyID = surveys$id[6])

# Retrieve a single survey, filtering for specific questions
mysurvey <- fetch_survey(
  surveyID = surveys$id[6],
  save_dir = tempdir(),
  include_questions = c("QID1", "QID2", "QID3"),
  verbose = TRUE
)
# }
# NOT RUN {
# }