<?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: Large dataset field population in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76533#M4469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest examining the combinations first.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are the combinations being used for... e.g. is a 'decision' being made based on a combination?&lt;/P&gt;&lt;P&gt;Are 8000 combinations really necessary?&amp;nbsp;&lt;/P&gt;&lt;P&gt;How different are the combinations?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be a real waste of time and effort to have to aggregate at a later stage when you realize that some of the combinations&amp;nbsp;weren't really necessary because of their similarity and influence on the 'end goal'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Apr 2020 15:18:37 GMT</pubDate>
    <dc:creator>DanPatterson_Retired</dc:creator>
    <dc:date>2020-04-16T15:18:37Z</dc:date>
    <item>
      <title>Large dataset field population</title>
      <link>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76528#M4464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please help! I need to populate a field in a statewide feature class (over 25 million records) based on four fields within the feature class. I'd like to be able to have it populate it using ModelBuilder or something since there are over 8,000 combinations of the 4 fields but I'm no coder. Here's what I'm essentially looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If field1=a and field2=b and field3=c and field4=d, populate field5=e&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example of the combinations from excel:&lt;/P&gt;&lt;TABLE width="639"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="202"&gt;field1&lt;/TD&gt;&lt;TD width="72"&gt;field2&lt;/TD&gt;&lt;TD width="87"&gt;field3&lt;/TD&gt;&lt;TD width="214"&gt;field4&lt;/TD&gt;&lt;TD width="64"&gt;field5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Well drained&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;Bare Land&lt;/TD&gt;&lt;TD&gt;Forest&lt;/TD&gt;&lt;TD&gt;36&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Well drained&lt;/TD&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;Bare Land&lt;/TD&gt;&lt;TD&gt;Recreation&lt;/TD&gt;&lt;TD&gt;39&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 18:37:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76528#M4464</guid>
      <dc:creator>SarahPierce</dc:creator>
      <dc:date>2020-04-15T18:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: Large dataset field population</title>
      <link>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76529#M4465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have a table of all the 8,000 + combinations?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2020 20:21:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76529#M4465</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-04-15T20:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Large dataset field population</title>
      <link>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76530#M4466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I do!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 11:45:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76530#M4466</guid>
      <dc:creator>SarahPierce</dc:creator>
      <dc:date>2020-04-16T11:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Large dataset field population</title>
      <link>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76531#M4467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's got to be a reasonable solution for it; the problem is the 25 million updates.&amp;nbsp; My first thought is to go with an &lt;A _jive_internal="true" href="https://community.esri.com/blogs/richard_fairhurst/2014/11/08/turbo-charging-data-manipulation-with-python-cursors-and-dictionaries"&gt;update cursor with a dictionary&lt;/A&gt;.&amp;nbsp; However plowing through 25 million records is going to take some time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What say you:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3116"&gt;Dan Patterson&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3420"&gt;Joshua Bixby&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/34565"&gt;Randy Burton&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 14:02:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76531#M4467</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2020-04-16T14:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Large dataset field population</title>
      <link>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76532#M4468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have a table with all 8,000 combinations, I suggest making new composite keys in each table that combine the 4 fields together as a text string.&amp;nbsp; Then, join the two tables based on the composite key, and then run an update on the one table based on the joined values from the other table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another approach would be to load the 8,000 combination table into a nested Python dictionary and use a cursor to lookup values and update the field.&amp;nbsp; I think my first suggestion will be easier for you to implement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 14:56:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76532#M4468</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2020-04-16T14:56:32Z</dc:date>
    </item>
    <item>
      <title>Re: Large dataset field population</title>
      <link>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76533#M4469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest examining the combinations first.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What are the combinations being used for... e.g. is a 'decision' being made based on a combination?&lt;/P&gt;&lt;P&gt;Are 8000 combinations really necessary?&amp;nbsp;&lt;/P&gt;&lt;P&gt;How different are the combinations?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be a real waste of time and effort to have to aggregate at a later stage when you realize that some of the combinations&amp;nbsp;weren't really necessary because of their similarity and influence on the 'end goal'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 15:18:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76533#M4469</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2020-04-16T15:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Large dataset field population</title>
      <link>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76534#M4470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;could you just turn those field strings into coded values of 0 to 999 for example, then concatenate them&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well drained = 002&lt;BR /&gt;A = 104&lt;/P&gt;&lt;P&gt;Bare Land = 065&lt;/P&gt;&lt;P&gt;Forest = 908&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;field 5 = 002104065908&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;well drained = 002&lt;BR /&gt;A = 104&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;Bare Land = 065&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;Recreation = 002&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; padding: 0px; margin: 0px;"&gt;&lt;SPAN style="display: inline !important; float: none; background-color: #ffffff; color: #3d3d3d; font-family: Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; overflow-wrap: break-word; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;field 5 = 002104065002&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2020 17:46:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/large-dataset-field-population/m-p/76534#M4470</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2020-04-16T17:46:56Z</dc:date>
    </item>
  </channel>
</rss>

