<?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: data structure capabilities in proc iml in SAS/IML Software and Matrix Computations</title>
    <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/data-structure-capabilities-in-proc-iml/m-p/394557#M3726</link>
    <description>&lt;P&gt;Here is a small sample of the data with the before and after structures (I sent it to many people already so it is safe)&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2017 03:18:09 GMT</pubDate>
    <dc:creator>ilikesas</dc:creator>
    <dc:date>2017-09-11T03:18:09Z</dc:date>
    <item>
      <title>data structure capabilities in proc iml</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/data-structure-capabilities-in-proc-iml/m-p/394550#M3724</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to my knowledge, in order import data and work on it in SAS the data has to be in table form structure, i.e, varaible headers and observations in columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recently I was working with data that had a very "un-table" like structure, and importng it into SAS was a mess. In the end I was able to transform its data into table form using Excel VBA, by working with cells and finding their structure pattern. But Excel/VBA is limited and sometimes I witnessed it go crazy when asked to think too much.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nevertheless the code to transform the data structure was fairly easy because of the grid-nature of Excel, and a grid is somewhat like a matrix, so I was wandering if proc iml has data structure transforming capabilities like VBA, if not better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 02:17:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/data-structure-capabilities-in-proc-iml/m-p/394550#M3724</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2017-09-11T02:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: data structure capabilities in proc iml</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/data-structure-capabilities-in-proc-iml/m-p/394551#M3725</link>
      <description>&lt;P&gt;SAS Base would likely be used to do the clean up and then import the data into IML.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 02:38:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/data-structure-capabilities-in-proc-iml/m-p/394551#M3725</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-11T02:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: data structure capabilities in proc iml</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/data-structure-capabilities-in-proc-iml/m-p/394557#M3726</link>
      <description>&lt;P&gt;Here is a small sample of the data with the before and after structures (I sent it to many people already so it is safe)&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 03:18:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/data-structure-capabilities-in-proc-iml/m-p/394557#M3726</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2017-09-11T03:18:09Z</dc:date>
    </item>
    <item>
      <title>Re: data structure capabilities in proc iml</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/data-structure-capabilities-in-proc-iml/m-p/394561#M3727</link>
      <description>&lt;P&gt;It looks fairly well structured to me, I've actually had to deal with a file exactly in that format before - measurements made daily by nurses into an Excel file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyways, save as CSV and import with a data step, they seem to come in pairs of 3 lines at a time and then goes across for a varying amount of days. You can either output each entry to a separate line and recombine it afterwards or you could create a really long variable string and read it in.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use the double&amp;nbsp;@@ to hold the line.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you could read the whole line in at once, all three and then parse....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There's a lot of options here, I'm not sure why you felt Excel was the best choice. It obviously will work - and I've done it that way before, but I definitely like the reproduceability of code where the instructions are a lot less and XLSM workbooks&amp;nbsp;aren't required.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 03:48:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/data-structure-capabilities-in-proc-iml/m-p/394561#M3727</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-09-11T03:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: data structure capabilities in proc iml</title>
      <link>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/data-structure-capabilities-in-proc-iml/m-p/394632#M3728</link>
      <description>&lt;P&gt;Could you please provide some lines of codes as an example? Just so that I get a general sense of the code and I will explore and develop it myself (or a link to an example).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2017 11:06:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-IML-Software-and-Matrix/data-structure-capabilities-in-proc-iml/m-p/394632#M3728</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2017-09-11T11:06:06Z</dc:date>
    </item>
  </channel>
</rss>

