<?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: importing data from a website in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/importing-data-from-a-website/m-p/353083#M82388</link>
    <description>&lt;P&gt;The paper that&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;suggested is definitely a good start, but you can read that file directly. I'd try the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;filename theurl URL "https://download.bls.gov/pub/time.series/la/la.data.3.AllStatesS";

data want;
    infile theurl truncover firstobs=2 dlm='09'x;
    informat series_id $20.;
    input series_id year period	$ value footnote_codes $;
run;
&lt;/PRE&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;</description>
    <pubDate>Tue, 25 Apr 2017 03:24:45 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2017-04-25T03:24:45Z</dc:date>
    <item>
      <title>importing data from a website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/importing-data-from-a-website/m-p/353074#M82385</link>
      <description>&lt;P&gt;Whats the best way to import the data on this website&amp;nbsp;&lt;A href="https://download.bls.gov/pub/time.series/la/la.data.3.AllStatesS" target="_blank"&gt;https://download.bls.gov/pub/time.series/la/la.data.3.AllStatesS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to SAS&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 02:46:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/importing-data-from-a-website/m-p/353074#M82385</guid>
      <dc:creator>Mike7</dc:creator>
      <dc:date>2017-04-25T02:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: importing data from a website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/importing-data-from-a-website/m-p/353078#M82386</link>
      <description>&lt;P&gt;&lt;A href="http://www.sascommunity.org/wiki/Tips:Read_Files_From_Web_Sites_Into_Your_SAS_Program" target="_blank"&gt;http://www.sascommunity.org/wiki/Tips:Read_Files_From_Web_Sites_Into_Your_SAS_Program&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/140223"&gt;@Mike7&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Whats the best way to import the data on this website&amp;nbsp;&lt;A href="https://download.bls.gov/pub/time.series/la/la.data.3.AllStatesS" target="_blank"&gt;https://download.bls.gov/pub/time.series/la/la.data.3.AllStatesS&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;to SAS&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 03:40:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/importing-data-from-a-website/m-p/353078#M82386</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-25T03:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: importing data from a website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/importing-data-from-a-website/m-p/353083#M82388</link>
      <description>&lt;P&gt;The paper that&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza&lt;/a&gt;&amp;nbsp;suggested is definitely a good start, but you can read that file directly. I'd try the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;filename theurl URL "https://download.bls.gov/pub/time.series/la/la.data.3.AllStatesS";

data want;
    infile theurl truncover firstobs=2 dlm='09'x;
    informat series_id $20.;
    input series_id year period	$ value footnote_codes $;
run;
&lt;/PRE&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 03:24:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/importing-data-from-a-website/m-p/353083#M82388</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2017-04-25T03:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: importing data from a website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/importing-data-from-a-website/m-p/353088#M82391</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13711"&gt;@art297&lt;/a&gt;&amp;nbsp;its pretty much exactly your code &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2017 03:40:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/importing-data-from-a-website/m-p/353088#M82391</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-25T03:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: importing data from a website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/importing-data-from-a-website/m-p/353916#M82680</link>
      <description>&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 21:46:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/importing-data-from-a-website/m-p/353916#M82680</guid>
      <dc:creator>Mike7</dc:creator>
      <dc:date>2017-04-26T21:46:34Z</dc:date>
    </item>
    <item>
      <title>Re: importing data from a website</title>
      <link>https://communities.sas.com/t5/SAS-Programming/importing-data-from-a-website/m-p/353933#M82687</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/140223"&gt;@Mike7&lt;/a&gt;&amp;nbsp;Please mark the appropriate answer as the correct answer, like Art's solution. NOT this comment please.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 22:48:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/importing-data-from-a-website/m-p/353933#M82687</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-04-26T22:48:57Z</dc:date>
    </item>
  </channel>
</rss>

