<?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: Real-time Currency Conversion Using SAS Studio in SAS Software for Learning Community</title>
    <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Real-time-Currency-Conversion-Using-SAS-Studio/m-p/845516#M807</link>
    <description>Hi Reeza, thank you for answering my second question. I will go through the blog. And the answer to your question is- Yes, the Excel sheet updates the data every time we refresh the Excel sheet. I have used formulas that allow it to show the real-time currency rates and their conversion every 1 minute. I was wondering why I am not able to get the real-time conversion on the SAS environment when I have imported the same Excel sheet on SAS. It just prints uploads and prints the data at the time of running the codes and the rates remain static. Is there a way I can get the real-time data every time I refresh the output environment?</description>
    <pubDate>Mon, 21 Nov 2022 19:00:05 GMT</pubDate>
    <dc:creator>Deb95</dc:creator>
    <dc:date>2022-11-21T19:00:05Z</dc:date>
    <item>
      <title>Real-time Currency Conversion Using SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Real-time-Currency-Conversion-Using-SAS-Studio/m-p/845509#M805</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is an URGENT REQUEST as my project is due next week!&lt;/P&gt;&lt;P&gt;I am a new SAS user and I am trying to build my Final Exam project but not sure how to proceed. I am a long-time Excel user and have been able to create the real-time currency exchange rate table on MS Excel and used the PROC IMPORT function to import the Excel sheet on the SAS environment. But I am getting a static table instead of the real-time one even after refreshing the output environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the steps I followed-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step 1-&lt;/P&gt;&lt;P&gt;Created the real-time currency exchange rate table on MS Excel using the freely available Currency exchange rate data set on the following site:-&amp;nbsp;&lt;A href="https://www.x-rates.com/" target="_blank"&gt;https://www.x-rates.com/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step 2-&amp;nbsp;&lt;/P&gt;&lt;P&gt;I uploaded the Excel sheet into my SAS folder&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step 3-&lt;/P&gt;&lt;P&gt;After that, I use the PROC IMPORT function to import the real-time dataset from the Excel sheet to the SAS environment. But the data output shows a static data table even after refreshing the environment. Not sure how to proceed please help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code used-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FILENAME MONEY "/home/u62057845/SAS Class Fall 2022/u62057845/Final project/currency.xlsx";&lt;BR /&gt;LIBNAME MONEY&lt;BR /&gt;PROC IMPORT OUT=money.currency&lt;BR /&gt;DATAFILE="/home/u62057845/SAS Class Fall 2022/u62057845/Final project/currency.xlsx"&lt;BR /&gt;DBMS=XLSX REPLACE;&lt;BR /&gt;GETNAMES=NO;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;PROC PRINT DATA=money.currency;&lt;BR /&gt;TITLE "Currency exchange rate from USD to other global currencies";&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;-----------------------&lt;/P&gt;&lt;P&gt;I have attached the Excel sheet named currency with the real-time currency exchange rate data set and the code above. Please edit the file path accordingly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;------------------------&lt;/P&gt;&lt;P&gt;Q2) Is there a way I can pull data sets from a website directly onto the SAS environment, instead of having to upload it into an Excel/CSV/text file first and then upload it? I know I can do it on R but not sure if SAS allows that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me!! Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 18:39:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Real-time-Currency-Conversion-Using-SAS-Studio/m-p/845509#M805</guid>
      <dc:creator>Deb95</dc:creator>
      <dc:date>2022-11-21T18:39:55Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time Currency Conversion Using SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Real-time-Currency-Conversion-Using-SAS-Studio/m-p/845512#M806</link>
      <description>If you upload an Excel file, it will always have that data. Or is the Excel file supposedly updating somehow each time it's opened?&lt;BR /&gt;&lt;BR /&gt;Second method is possible, would be easier to use their API but that's likely paid.&lt;BR /&gt;&lt;A href="https://blogs.sas.com/content/sasdummy/2017/12/04/scrape-web-page-data/" target="_blank"&gt;https://blogs.sas.com/content/sasdummy/2017/12/04/scrape-web-page-data/&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 21 Nov 2022 18:46:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Real-time-Currency-Conversion-Using-SAS-Studio/m-p/845512#M806</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-11-21T18:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time Currency Conversion Using SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Real-time-Currency-Conversion-Using-SAS-Studio/m-p/845516#M807</link>
      <description>Hi Reeza, thank you for answering my second question. I will go through the blog. And the answer to your question is- Yes, the Excel sheet updates the data every time we refresh the Excel sheet. I have used formulas that allow it to show the real-time currency rates and their conversion every 1 minute. I was wondering why I am not able to get the real-time conversion on the SAS environment when I have imported the same Excel sheet on SAS. It just prints uploads and prints the data at the time of running the codes and the rates remain static. Is there a way I can get the real-time data every time I refresh the output environment?</description>
      <pubDate>Mon, 21 Nov 2022 19:00:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Real-time-Currency-Conversion-Using-SAS-Studio/m-p/845516#M807</guid>
      <dc:creator>Deb95</dc:creator>
      <dc:date>2022-11-21T19:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Real-time Currency Conversion Using SAS Studio</title>
      <link>https://communities.sas.com/t5/SAS-Software-for-Learning/Real-time-Currency-Conversion-Using-SAS-Studio/m-p/845567#M808</link>
      <description>Yeah, SAS will be reading the file, it will not update the values or recheck the connection. You'll need to use the second option. &lt;BR /&gt;</description>
      <pubDate>Mon, 21 Nov 2022 21:33:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Software-for-Learning/Real-time-Currency-Conversion-Using-SAS-Studio/m-p/845567#M808</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-11-21T21:33:54Z</dc:date>
    </item>
  </channel>
</rss>

