Skip to content

Commit

Permalink
Include extra fields in Qualtrics export
Browse files Browse the repository at this point in the history
  • Loading branch information
nmalkin committed Apr 26, 2023
1 parent 314b462 commit 4af0c39
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ suspend fun startExport(client: HttpClient, urls: QualtricsURL, apiToken: String
contentType(ContentType.Application.Json)
val payload = mapOf(
"format" to "csv",
/* Include display order information, to see when randomized items were shown */
"includeDisplayOrder" to "true",
/*
For columns that have answer labels, export two columns: one that uses recode values and one that uses labels. The label column has an IsLabelsColumn field in the 3rd header row. Note that this cannot be used with useLabels. Use this setting if you wish to export both column labels and numberic values in the same export.
- from https://api.qualtrics.com/guides/reference/responseImportsExports.json/paths/~1surveys~1%7BsurveyId%7D~1export-responses/post
Expand Down

0 comments on commit 4af0c39

Please sign in to comment.