<?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: Removing only those duplicate attributes that have a duplicate subset of attributes (Address files) in State &amp; Local Government Questions</title>
    <link>https://community.esri.com/t5/state-local-government-questions/removing-only-those-duplicate-attributes-that-have/m-p/398321#M2437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/355355"&gt;Preston Ellison&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you consider the &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/delete-identical.htm"&gt;Delete Identical &lt;/A&gt;Tool.&amp;nbsp; This tool allows you to select a list of attributes and will delete all but one base upon those attributes.&amp;nbsp; CAUTION!&amp;nbsp; This tool modifies your input table or feature class, it does not&amp;nbsp;create a new copy.&amp;nbsp; Please make a copy before running the tool.&amp;nbsp; You can also use &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/find-identical.htm"&gt;Find Identical &lt;/A&gt;tool to generate a report of the matches considered identical.&amp;nbsp; This tool does not modify your data.&amp;nbsp; We use this tool all the time when we have to combine address lists from multiple sources.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do this&amp;nbsp;exclusively using SQL, add a &lt;A href="https://www.techonthenet.com/sql/distinct.php"&gt;SELECT DISTINCT &lt;/A&gt;statement to you query once you have your join assembled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Sep 2019 01:24:09 GMT</pubDate>
    <dc:creator>LanceCole</dc:creator>
    <dc:date>2019-09-10T01:24:09Z</dc:date>
    <item>
      <title>Removing only those duplicate attributes that have a duplicate subset of attributes (Address files)</title>
      <link>https://community.esri.com/t5/state-local-government-questions/removing-only-those-duplicate-attributes-that-have/m-p/398320#M2436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am merging two address&amp;nbsp;features together and associating them with a parcel number. These address layers overlap geographically in some areas and i only need one record per unique address. I need to remove the duplicates, however there are valid duplicate parcel numbers with multiple addresses (ex apartments or condominiums). So i need to retain duplicate parcel records only if they contain unique address fields. In the picture ive provided an example of having 3 parcel records (KeyNum) but only 2 unique street numbers (StreetNum).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ive tried using a select by attributes to isolate the duplicate KeyNum and then creating a selection from that selection of duplicate StreetNum bu&lt;SPAN&gt;t as you can expect, any duplicate StreetNum is selected regardless if they have an associated duplicate KeyNum. I&lt;/SPAN&gt;&amp;nbsp;need to add a qualifier in the SQL code. Here is what i have so far...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[KeyNum] In (SELECT [KeyNum] FROM [Export_Output] GROUP BY [KeyNum] HAVING Count(*)&amp;gt;1 )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;[StreetNum] In (SELECT [StreetNum] FROM [Export_Output] GROUP BY [StreetNum] HAVING Count(*)&amp;gt;1 )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2019 22:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/removing-only-those-duplicate-attributes-that-have/m-p/398320#M2436</guid>
      <dc:creator>PrestonEllison</dc:creator>
      <dc:date>2019-09-09T22:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Removing only those duplicate attributes that have a duplicate subset of attributes (Address files)</title>
      <link>https://community.esri.com/t5/state-local-government-questions/removing-only-those-duplicate-attributes-that-have/m-p/398321#M2437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/355355"&gt;Preston Ellison&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you consider the &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/delete-identical.htm"&gt;Delete Identical &lt;/A&gt;Tool.&amp;nbsp; This tool allows you to select a list of attributes and will delete all but one base upon those attributes.&amp;nbsp; CAUTION!&amp;nbsp; This tool modifies your input table or feature class, it does not&amp;nbsp;create a new copy.&amp;nbsp; Please make a copy before running the tool.&amp;nbsp; You can also use &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/find-identical.htm"&gt;Find Identical &lt;/A&gt;tool to generate a report of the matches considered identical.&amp;nbsp; This tool does not modify your data.&amp;nbsp; We use this tool all the time when we have to combine address lists from multiple sources.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to do this&amp;nbsp;exclusively using SQL, add a &lt;A href="https://www.techonthenet.com/sql/distinct.php"&gt;SELECT DISTINCT &lt;/A&gt;statement to you query once you have your join assembled.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 01:24:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/removing-only-those-duplicate-attributes-that-have/m-p/398321#M2437</guid>
      <dc:creator>LanceCole</dc:creator>
      <dc:date>2019-09-10T01:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Removing only those duplicate attributes that have a duplicate subset of attributes (Address files)</title>
      <link>https://community.esri.com/t5/state-local-government-questions/removing-only-those-duplicate-attributes-that-have/m-p/398322#M2438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did not realize the Delete Identical tool would parse out a selection of a selection of sorts. It worked perfectly. It did take about 6 hours to complete on (250k records) but it worked!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 23:20:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/removing-only-those-duplicate-attributes-that-have/m-p/398322#M2438</guid>
      <dc:creator>PrestonEllison</dc:creator>
      <dc:date>2019-09-10T23:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Removing only those duplicate attributes that have a duplicate subset of attributes (Address files)</title>
      <link>https://community.esri.com/t5/state-local-government-questions/removing-only-those-duplicate-attributes-that-have/m-p/398323#M2439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/355355"&gt;Preston&lt;/A&gt;, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Six hours???&amp;nbsp;&amp;nbsp;Just out of curiosity, how may attributes did you run on the data with the&amp;nbsp;Delete Identical?&amp;nbsp; What format is your data stored?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just ran the tool on 200k records using the LSN string in&amp;nbsp;an address file&amp;nbsp;(House number, Unit Number, Street Name) such as "123&amp;nbsp;C MAIN STREET") in about 68 seconds.&amp;nbsp; I made another copy of the data and ran it&amp;nbsp;using &amp;nbsp;LSN, USPS City and State in about 193 seconds.&amp;nbsp; The second run found fewer duplicates&amp;nbsp;as there were duplicate streets in multiple towns that were not removed as this time they were not identical.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2019 00:38:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/removing-only-those-duplicate-attributes-that-have/m-p/398323#M2439</guid>
      <dc:creator>LanceCole</dc:creator>
      <dc:date>2019-09-11T00:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: Removing only those duplicate attributes that have a duplicate subset of attributes (Address files)</title>
      <link>https://community.esri.com/t5/state-local-government-questions/removing-only-those-duplicate-attributes-that-have/m-p/398324#M2440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran the tool on 2 columns, parcel and street number. 50k+ records were removed out of the 250k. I ran it again and it was complete in under a minute. Not sure what happened yesterday...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Sep 2019 14:18:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/state-local-government-questions/removing-only-those-duplicate-attributes-that-have/m-p/398324#M2440</guid>
      <dc:creator>PrestonEllison</dc:creator>
      <dc:date>2019-09-11T14:18:07Z</dc:date>
    </item>
  </channel>
</rss>

