Learn R Programming

qualtRics (version 3.0)

qualtRicsConfigFile: Prints an example of a qualtRics configuration file to the console.

Description

Prints an example of a qualtRics configuration file to the console.

Usage

qualtRicsConfigFile(api_token = NULL, root_url = NULL, verbose = TRUE,
  useLabels = TRUE, convertVariables = TRUE, useLocalTime = FALSE,
  dateWarning = TRUE)

Arguments

api_token

String. API token. Available in your qualtrics account (see: https://api.qualtrics.com/docs/authentication)

root_url

String. Root url for your institution (see: https://api.qualtrics.com/docs/root-url)

verbose

Logical. If TRUE, verbose messages will be printed to the R console. Defaults to TRUE.

useLabels

Logical. TRUE to export survey responses as Choice Text or FALSE to export survey responses as values.

convertVariables

Logical. If TRUE, then the getSurvey function will convert certain question types (e.g. multiple choice) to proper data type in R. Defaults to TRUE.

useLocalTime

Logical. Use local timezone to determine response date values? Defaults to FALSE. See https://api.qualtrics.com/docs/dates-and-times for more information.

dateWarning

Logical. Once per session, qualtRics will emit a warning about date conversion for surveys. You can turn this warning off by changing the flag to FALSE. Defaults to TRUE.

See Also

See https://api.qualtrics.com/docs/root-url for documentation on the Qualtrics API. See https://github.com/JasperHG90/qualtRics/blob/master/README.md#using-a-configuration-file for more information about the qualtRics configuration file.

Examples

Run this code
# NOT RUN {
# Execute this line to get instructions on how to make a .qualtrics.yml config file.
qualtRicsConfigFile()
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab