importQualtricsSurvey: Import Advanced Format survey to Qualtrics

Description Usage Arguments Details Author(s) Examples

Description

This function imports an Advanced Format text file from R to Qualtrics.

Usage

1
importQualtricsSurvey(username, token, surveyName, fileLocation)

Arguments

username

Your username from Qualtrics. Defaults to 'username' from qualtricsAuth function (it has to be ran and loaded first).

token

Your token from Qualtrics. Defaults to 'token' from qualtricsAuth function (it has to be ran and loaded first).

surveyName

What you want your survey to be named within Qualtrics.

fileLocation

Where your survey file is stored locally.

Details

You can find your username and token in your account settings. Alternatively, you can use the 'qualtricsAuth' function to store a file with your username and token.

Author(s)

Seth Berry

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
## Not run: 

# Establish qualtricsAuth file first #

qualtricsAuth("username", "token") # You must provide these from Qualtrics.

load("file/location/qualtricsAuthInfo.RData")

importQualtricsSurvey(username = username, token = token,
                      surveyName = "yourSurveyName",
                      fileLocation = "folder/location/yourSurveyName.txt")

# Without qualtricsAuth #

importQualtricsSurvey(username = "qualtricsUser@email.address#brand", 
                      token = "tokenString", surveyName = "yourSurveyName",
                      fileLocation = "folder/location/yourSurveyName.txt")

## End(Not run)

saberry/qualtricsR documentation built on Aug. 21, 2020, 5:55 p.m.