<?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: Address cleaning in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Address-cleaning/m-p/700625#M79849</link>
    <description>&lt;P&gt;What is your actual use case?&amp;nbsp; If your address cleaning needs to scale up to enterprise-wide customer volumes and techniques then you would be better off using a tool specific to this task like SAS Data Quality. On the other hand, cleaning a few hundred addresses with a few transformation rules like the ones in your post, you are probably better off persevering with your current approach.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Nov 2020 22:22:30 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2020-11-20T22:22:30Z</dc:date>
    <item>
      <title>Address cleaning</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Address-cleaning/m-p/700494#M79848</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having some troubles with cleaning these addresses. at first it was easy with some if statement. But since my data is getting bigger, it is not efficient to use if statement anymore. I would love to hear your thoughts about how to clean this field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have:&lt;/P&gt;&lt;P&gt;Data have;&lt;/P&gt;&lt;P&gt;input address $200;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;100 ABC ST RM S02A&lt;/P&gt;&lt;P&gt;102 ABC STREET FLOOR 1&lt;/P&gt;&lt;P&gt;103 ABC ST APT 3 HOMELESS&lt;/P&gt;&lt;P&gt;1035 CD AVENUE FLOOR 2&lt;/P&gt;&lt;P&gt;108 SOMETHING ST # 2FL&lt;/P&gt;&lt;P&gt;115 VISA VISTA DR APT 212 APT 212&lt;/P&gt;&lt;P&gt;1155 LOOK AVENUE APT 205&lt;/P&gt;&lt;P&gt;12 BORED AVE APT 2&lt;/P&gt;&lt;P&gt;1214 TIRED STREET APT 428&lt;/P&gt;&lt;P&gt;127 HAPPY STREET FLOOR 2&lt;/P&gt;&lt;P&gt;1397 SOMEWHERE STREET FIRST FLOOR&lt;/P&gt;&lt;P&gt;142 SOMETHING ST APT 3&lt;/P&gt;&lt;P&gt;200 RAINBOW AVE UNIT 202&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't want any Unit or floor or apt number in the clean address. So I want the address field that would look like this:&lt;/P&gt;&lt;P&gt;100 ABC ST&lt;/P&gt;&lt;P&gt;102 ABC STREET&lt;/P&gt;&lt;P&gt;103 ABC ST&lt;/P&gt;&lt;P&gt;1035 CD AVENUE&lt;/P&gt;&lt;P&gt;108 SOMETHING ST&lt;/P&gt;&lt;P&gt;115 VISA VISTA DR&lt;/P&gt;&lt;P&gt;1155 LOOK AVENUE&lt;/P&gt;&lt;P&gt;12 BORED AVE&lt;/P&gt;&lt;P&gt;1214 TIRED STREET&lt;/P&gt;&lt;P&gt;127 HAPPY STREET&lt;/P&gt;&lt;P&gt;1397 SOMEWHERE STREET&lt;/P&gt;&lt;P&gt;142 SOMETHING ST&lt;/P&gt;&lt;P&gt;200 RAINBOW AVE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 15:11:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Address-cleaning/m-p/700494#M79848</guid>
      <dc:creator>huongc2</dc:creator>
      <dc:date>2020-11-20T15:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Address cleaning</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Address-cleaning/m-p/700625#M79849</link>
      <description>&lt;P&gt;What is your actual use case?&amp;nbsp; If your address cleaning needs to scale up to enterprise-wide customer volumes and techniques then you would be better off using a tool specific to this task like SAS Data Quality. On the other hand, cleaning a few hundred addresses with a few transformation rules like the ones in your post, you are probably better off persevering with your current approach.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 22:22:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Address-cleaning/m-p/700625#M79849</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-11-20T22:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Address cleaning</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Address-cleaning/m-p/700909#M79855</link>
      <description>&lt;P&gt;Ah Thank you. I thought SAS would have function for this that I don't know &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 14:16:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Address-cleaning/m-p/700909#M79855</guid>
      <dc:creator>huongc2</dc:creator>
      <dc:date>2020-11-23T14:16:24Z</dc:date>
    </item>
  </channel>
</rss>

