Description Usage Arguments Details Author(s) Examples
This function imports an Advanced Format text file from R to Qualtrics.
1 | importQualtricsSurvey(username, token, surveyName, fileLocation)
|
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. |
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.
Seth Berry
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.