<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Qualtrics data access via proc http in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Qualtrics-data-access-via-proc-http/m-p/956887#M373592</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a process that successfully requests and then imports data from Qualtrics API into SAS.&amp;nbsp; However, I have issues with finding the sweet spot for the time it takes for the extract to be complete.&amp;nbsp; Any sense of how long to wait?&amp;nbsp; Currently, I've added a 20 minute pause to allow the data to queue for import; however, sometimes it still does not extract the most recent responses, thus the wait was insufficient.&amp;nbsp; Love to figure out if there is a standard time I should use or how to explore (beside trial and error), what that ideal wait time...&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jan 2025 17:08:55 GMT</pubDate>
    <dc:creator>w539356</dc:creator>
    <dc:date>2025-01-22T17:08:55Z</dc:date>
    <item>
      <title>Qualtrics data access via proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Qualtrics-data-access-via-proc-http/m-p/916023#M360880</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I need some help please. I have read most of the online posts on qualtrics data extraction using proc http in this community.&amp;nbsp;&lt;/P&gt;&lt;P&gt;After trial and error using SAS 9.4, i managed to reach this stage where i can download a data file from qualtrics.&lt;/P&gt;&lt;P&gt;(Not that i cannot go the easy way to download a CSV file in qualtrics directly, but i hope to achieve it programmatically to&amp;nbsp; automate the process intentionally&lt;/P&gt;&lt;P&gt;for another objective)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the data download script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yiang_3-1707898971358.png" style="width: 634px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93689i1940FB11C954CBE0/image-dimensions/634x176?v=v2" width="634" height="176" role="button" title="Yiang_3-1707898971358.png" alt="Yiang_3-1707898971358.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However when i use notepad to open the csv, i belief the format is incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yiang_1-1707898478067.png" style="width: 660px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93687i93230E2C012BCAD1/image-dimensions/660x374?v=v2" width="660" height="374" role="button" title="Yiang_1-1707898478067.png" alt="Yiang_1-1707898478067.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is , i do not know how exactly how to specify in SAS the format i wish to download .&lt;/P&gt;&lt;P&gt;Qualtrics supports manual download of these formats&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Yiang_4-1707899164472.png" style="width: 522px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/93691i31F01AF433CD61E8/image-dimensions/522x496?v=v2" width="522" height="496" role="button" title="Yiang_4-1707899164472.png" alt="Yiang_4-1707899164472.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When i asked the question to Qualtrics tech support, they suggested i check with SAS community instead.&lt;/P&gt;&lt;P&gt;I wish to seek some advice please. Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 08:29:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Qualtrics-data-access-via-proc-http/m-p/916023#M360880</guid>
      <dc:creator>Yiang</dc:creator>
      <dc:date>2024-02-14T08:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Qualtrics data access via proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Qualtrics-data-access-via-proc-http/m-p/916058#M360900</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/314048"&gt;@Yiang&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think that the process of exporting responses in Qualtrics requires two steps:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;First, use the export-responses API to&amp;nbsp;&lt;STRONG&gt;start&lt;/STRONG&gt; 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&amp;nbsp;&lt;A href="https://api.qualtrics.com/6b00592b9c013-start-response-export" target="_blank"&gt;https://api.qualtrics.com/6b00592b9c013-start-response-export&lt;/A&gt;. The response from this call will contain a status and a progress ID that you could use to check status of the process.&lt;/LI&gt;
&lt;LI&gt;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 &lt;A href="https://api.qualtrics.com/41296b6f2e828-get-response-export-file" target="_blank"&gt;https://api.qualtrics.com/41296b6f2e828-get-response-export-file&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/tag/zip-files/" target="_self"&gt;SAS can process ZIP files&lt;/A&gt; if you decide that's easier to manage.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2024 13:52:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Qualtrics-data-access-via-proc-http/m-p/916058#M360900</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2024-02-14T13:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Qualtrics data access via proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Qualtrics-data-access-via-proc-http/m-p/916222#M360923</link>
      <description>&lt;P&gt;Thanks for the hint&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the file is in a zip format even though i downloaded it as a .CSV file.&lt;/P&gt;&lt;P&gt;after reading your message, i renamed the .csv to .zip and the data in CSV file can be found inside the zip file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2024 01:22:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Qualtrics-data-access-via-proc-http/m-p/916222#M360923</guid>
      <dc:creator>Yiang</dc:creator>
      <dc:date>2024-02-15T01:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Qualtrics data access via proc http</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Qualtrics-data-access-via-proc-http/m-p/956887#M373592</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/4"&gt;@ChrisHemedinger&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a process that successfully requests and then imports data from Qualtrics API into SAS.&amp;nbsp; However, I have issues with finding the sweet spot for the time it takes for the extract to be complete.&amp;nbsp; Any sense of how long to wait?&amp;nbsp; Currently, I've added a 20 minute pause to allow the data to queue for import; however, sometimes it still does not extract the most recent responses, thus the wait was insufficient.&amp;nbsp; Love to figure out if there is a standard time I should use or how to explore (beside trial and error), what that ideal wait time...&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jan 2025 17:08:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Qualtrics-data-access-via-proc-http/m-p/956887#M373592</guid>
      <dc:creator>w539356</dc:creator>
      <dc:date>2025-01-22T17:08:55Z</dc:date>
    </item>
  </channel>
</rss>

