<?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 Is this possible?? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Is-this-possible/m-p/75997#M22060</link>
    <description>Further to my previous question:&lt;BR /&gt;
&lt;BR /&gt;
I have data with movement of people between states e.g.&lt;BR /&gt;
&lt;BR /&gt;
NAME FROM TO&lt;BR /&gt;
John Maine Maryland&lt;BR /&gt;
Steven New York   Ohio&lt;BR /&gt;
David   Ohio  Chicago&lt;BR /&gt;
&lt;BR /&gt;
I would like to produce a SAS dataset or excel table which totals the number of people who moved between each state. For example I want to be able to see how many people moved from Ohio to NY and I also need to be able to read off the number of people who moved from NY to Ohio on the same chart.&lt;BR /&gt;
&lt;BR /&gt;
i.e. read Ohio on the x-axis and NY on the y-axis to see how many moved from Ohio to NY&lt;BR /&gt;
&lt;BR /&gt;
and read NY on the x-axis and Ohio on the y-axis for NY to Ohio moves&lt;BR /&gt;
&lt;BR /&gt;
Is this possible? If you use PROC FREQ is it possible to get the data into a file rather than just on the HTML output?&lt;BR /&gt;
&lt;BR /&gt;
mu</description>
    <pubDate>Mon, 02 Mar 2009 19:52:57 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-03-02T19:52:57Z</dc:date>
    <item>
      <title>Is this possible??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-this-possible/m-p/75997#M22060</link>
      <description>Further to my previous question:&lt;BR /&gt;
&lt;BR /&gt;
I have data with movement of people between states e.g.&lt;BR /&gt;
&lt;BR /&gt;
NAME FROM TO&lt;BR /&gt;
John Maine Maryland&lt;BR /&gt;
Steven New York   Ohio&lt;BR /&gt;
David   Ohio  Chicago&lt;BR /&gt;
&lt;BR /&gt;
I would like to produce a SAS dataset or excel table which totals the number of people who moved between each state. For example I want to be able to see how many people moved from Ohio to NY and I also need to be able to read off the number of people who moved from NY to Ohio on the same chart.&lt;BR /&gt;
&lt;BR /&gt;
i.e. read Ohio on the x-axis and NY on the y-axis to see how many moved from Ohio to NY&lt;BR /&gt;
&lt;BR /&gt;
and read NY on the x-axis and Ohio on the y-axis for NY to Ohio moves&lt;BR /&gt;
&lt;BR /&gt;
Is this possible? If you use PROC FREQ is it possible to get the data into a file rather than just on the HTML output?&lt;BR /&gt;
&lt;BR /&gt;
mu</description>
      <pubDate>Mon, 02 Mar 2009 19:52:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-this-possible/m-p/75997#M22060</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-02T19:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is this possible??</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Is-this-possible/m-p/75998#M22061</link>
      <description>If you are using ODS to output then just use the phtml device and output to a file with .xls as a extension. Excel will open the file, even though it is written in html;.&lt;BR /&gt;
&lt;BR /&gt;
ods listing close;&lt;BR /&gt;
ods phtml file='c:\migration.xls';&lt;BR /&gt;
  proc freq data=migration;&lt;BR /&gt;
  tables to*from;&lt;BR /&gt;
  run;&lt;BR /&gt;
ods phtml close;&lt;BR /&gt;
ods listing;</description>
      <pubDate>Tue, 03 Mar 2009 10:16:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Is-this-possible/m-p/75998#M22061</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-03-03T10:16:45Z</dc:date>
    </item>
  </channel>
</rss>

