BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
Yiang
Fluorite | Level 6

Hi

I need some help please. I have read most of the online posts on qualtrics data extraction using proc http in this community. 

After trial and error using SAS 9.4, i managed to reach this stage where i can download a data file from qualtrics.

(Not that i cannot go the easy way to download a CSV file in qualtrics directly, but i hope to achieve it programmatically to  automate the process intentionally

for another objective)

 

This is the data download script. 

 

Yiang_3-1707898971358.png

However when i use notepad to open the csv, i belief the format is incorrect.

 

Yiang_1-1707898478067.png

The problem is , i do not know how exactly how to specify in SAS the format i wish to download .

Qualtrics supports manual download of these formats

 

Yiang_4-1707899164472.png

When i asked the question to Qualtrics tech support, they suggested i check with SAS community instead.

I wish to seek some advice please. Thank you

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ChrisHemedinger
Community Manager

Hi @Yiang ,

 

I think that the process of exporting responses in Qualtrics requires two steps:

  • First, use the export-responses API to start the export, which might take some time to complete. In this call you can state what format you want. By default it is a ZIP file, which is what I think you are seeing in your attempt. See https://api.qualtrics.com/6b00592b9c013-start-response-export. The response from this call will contain a status and a progress ID that you could use to check status of the process.
  • Then, after the export is complete (you can either wait a reasonable time or check status with another API call), you can download the responses as you did -- but the format will have already been set in the first API call. See https://api.qualtrics.com/41296b6f2e828-get-response-export-file

SAS can process ZIP files if you decide that's easier to manage. 

 

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!

View solution in original post

2 REPLIES 2
ChrisHemedinger
Community Manager

Hi @Yiang ,

 

I think that the process of exporting responses in Qualtrics requires two steps:

  • First, use the export-responses API to start the export, which might take some time to complete. In this call you can state what format you want. By default it is a ZIP file, which is what I think you are seeing in your attempt. See https://api.qualtrics.com/6b00592b9c013-start-response-export. The response from this call will contain a status and a progress ID that you could use to check status of the process.
  • Then, after the export is complete (you can either wait a reasonable time or check status with another API call), you can download the responses as you did -- but the format will have already been set in the first API call. See https://api.qualtrics.com/41296b6f2e828-get-response-export-file

SAS can process ZIP files if you decide that's easier to manage. 

 

Register for SAS Innovate 2025!! The premier event for SAS users, May 6-9 in Orlando FL. Sign up now for the best deals!
Yiang
Fluorite | Level 6

Thanks for the hint @ChrisHemedinger 

the file is in a zip format even though i downloaded it as a .CSV file.

after reading your message, i renamed the .csv to .zip and the data in CSV file can be found inside the zip file.

 

 

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 1801 views
  • 1 like
  • 2 in conversation