<?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 translate coded domain values to their text description? in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/translate-coded-domain-values-to-their-text/m-p/646882#M50406</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In a series of .py scripts, I am creating a bunch of tables that contain coded domain values (within a personal gdb).&amp;nbsp; I'd like to take the tables and make a copy of them with the real values, not the coded domain values.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll be using these tables in subsequent non-GIS processing and reporting and at some point I'll need to translate from the coded domain to the real value and I'm wondering if there is a slick way I can do it at the end of my script?&amp;nbsp; Below is a snippet from one example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

# Process: Run Identity tool with TRACTS and PCA
arcpy.Identity_analysis(TRACTS, PCA, CAF_PCA_IDT)

# Process: Created selected set and copy results out to a new fc
arcpy.MakeFeatureLayer_management (CAF_PCA_IDT, "CAF_PCA_IDTFL", "CANAME &amp;lt;&amp;gt; ''")
arcpy.CopyFeatures_management ("CAF_PCA_IDTFL", CAF_PCA_IDT_SEL)

# Process: Run Frequency 
arcpy.Frequency_analysis(CAF_PCA_IDT_SEL, CAF_TBL_PCA, ["TRACTNAME", "FID_TRACTS", "CANAME", "CATYPE"], "Shape_Area")

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Apr 2011 17:01:52 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2011-04-14T17:01:52Z</dc:date>
    <item>
      <title>translate coded domain values to their text description?</title>
      <link>https://community.esri.com/t5/python-questions/translate-coded-domain-values-to-their-text/m-p/646882#M50406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In a series of .py scripts, I am creating a bunch of tables that contain coded domain values (within a personal gdb).&amp;nbsp; I'd like to take the tables and make a copy of them with the real values, not the coded domain values.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll be using these tables in subsequent non-GIS processing and reporting and at some point I'll need to translate from the coded domain to the real value and I'm wondering if there is a slick way I can do it at the end of my script?&amp;nbsp; Below is a snippet from one example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 

# Process: Run Identity tool with TRACTS and PCA
arcpy.Identity_analysis(TRACTS, PCA, CAF_PCA_IDT)

# Process: Created selected set and copy results out to a new fc
arcpy.MakeFeatureLayer_management (CAF_PCA_IDT, "CAF_PCA_IDTFL", "CANAME &amp;lt;&amp;gt; ''")
arcpy.CopyFeatures_management ("CAF_PCA_IDTFL", CAF_PCA_IDT_SEL)

# Process: Run Frequency 
arcpy.Frequency_analysis(CAF_PCA_IDT_SEL, CAF_TBL_PCA, ["TRACTNAME", "FID_TRACTS", "CANAME", "CATYPE"], "Shape_Area")

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 17:01:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/translate-coded-domain-values-to-their-text/m-p/646882#M50406</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-04-14T17:01:52Z</dc:date>
    </item>
  </channel>
</rss>

