<?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 turning variable records into new variables in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/turning-variable-records-into-new-variables/m-p/75517#M21916</link>
    <description>I have a table with variables for state, year, and and a single variable for the tax rate in that state.  I would like to reorganize the data so that the state variable is removed, and instead there is a variable for the year, and 50 new variables, one for each state.  Every record under the states would show the tax rate for that combination of state and year.  However, I am fairly new to SAS and don't have a good idea as to if/how this should be done.&lt;BR /&gt;
&lt;BR /&gt;
Any suggestions?</description>
    <pubDate>Tue, 13 Oct 2009 05:33:06 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2009-10-13T05:33:06Z</dc:date>
    <item>
      <title>turning variable records into new variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/turning-variable-records-into-new-variables/m-p/75517#M21916</link>
      <description>I have a table with variables for state, year, and and a single variable for the tax rate in that state.  I would like to reorganize the data so that the state variable is removed, and instead there is a variable for the year, and 50 new variables, one for each state.  Every record under the states would show the tax rate for that combination of state and year.  However, I am fairly new to SAS and don't have a good idea as to if/how this should be done.&lt;BR /&gt;
&lt;BR /&gt;
Any suggestions?</description>
      <pubDate>Tue, 13 Oct 2009 05:33:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/turning-variable-records-into-new-variables/m-p/75517#M21916</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-10-13T05:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: turning variable records into new variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/turning-variable-records-into-new-variables/m-p/75518#M21917</link>
      <description>PROC TRANSPOSE would be the obvious choice. See on line doc under Base SAS Procedures.&lt;BR /&gt;
&lt;BR /&gt;
/Linus</description>
      <pubDate>Tue, 13 Oct 2009 06:58:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/turning-variable-records-into-new-variables/m-p/75518#M21917</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2009-10-13T06:58:58Z</dc:date>
    </item>
  </channel>
</rss>

