<?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: Cleaning data in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Cleaning-data/m-p/108476#M9311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SAS you can recode the variables in a task I believe OR you could create a custom format and then use the data as is, if you needed it further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;To recode:&lt;/P&gt;&lt;P&gt;Use query builder&amp;gt;Computed Column&amp;gt; check the RECODE radio button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Format, it is under Tasks&amp;gt;Data&amp;gt;Create Format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 18:27:24 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2013-02-13T18:27:24Z</dc:date>
    <item>
      <title>Cleaning data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Cleaning-data/m-p/108475#M9310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm quite new to SAS Enterprise Guide and I would like to clean up my data before analysis.&lt;/P&gt;&lt;P&gt;I have a variable OnlineCustomer that uses 3 possible ways to be TRUE and 2 ways to be FALSE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null, -1 and 0 should be FALSE&lt;/P&gt;&lt;P&gt;1 or [the customerID] should be TRUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I convert al the values to the correct TRUE/FALSE-value so I can easily work with expressions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 16:45:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Cleaning-data/m-p/108475#M9310</guid>
      <dc:creator>DavidDemeyer</dc:creator>
      <dc:date>2013-02-13T16:45:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Cleaning-data/m-p/108476#M9311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SAS you can recode the variables in a task I believe OR you could create a custom format and then use the data as is, if you needed it further.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;To recode:&lt;/P&gt;&lt;P&gt;Use query builder&amp;gt;Computed Column&amp;gt; check the RECODE radio button&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Format, it is under Tasks&amp;gt;Data&amp;gt;Create Format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 18:27:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Cleaning-data/m-p/108476#M9311</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2013-02-13T18:27:24Z</dc:date>
    </item>
    <item>
      <title>Re: Cleaning data</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Cleaning-data/m-p/108477#M9312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're using the query wizard, you can add a computed column either via the recode as described or if you're feeling adventurous create one using the advanced option and name it bolOnlineCustomer.&amp;nbsp; The formula would be something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Onlinecustomer=1 or OnlineCustomer=[the customerid].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If either of those are true, the formula returns a true.&amp;nbsp; I'm presuming that your customerid's are all numeric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 18:53:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Cleaning-data/m-p/108477#M9312</guid>
      <dc:creator>DBailey</dc:creator>
      <dc:date>2013-02-13T18:53:46Z</dc:date>
    </item>
  </channel>
</rss>

