<?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 defining field types with R arcgisbinding in ArcGIS Hub Questions</title>
    <link>https://community.esri.com/t5/arcgis-hub-questions/defining-field-types-with-r-arcgisbinding/m-p/794693#M3914</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using arc.write() in the R arcgisbinding package to write an sf object to a feature class in a file geodatabase. How do I define the field types of the resulting feature class. For example, I have a field in R which is a character (text) field -&amp;nbsp; "2018-11-10". When I write this file to a feature class, this field gets interpreted as a 'double' field but I want this field to be interpreted as a 'text' field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fgdb_path &amp;lt;- file.path("path")&lt;BR /&gt;arc.write(file.path(fgdb_path, "layer), data=sf_object)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Oct 2018 16:56:22 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-10-08T16:56:22Z</dc:date>
    <item>
      <title>defining field types with R arcgisbinding</title>
      <link>https://community.esri.com/t5/arcgis-hub-questions/defining-field-types-with-r-arcgisbinding/m-p/794693#M3914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using arc.write() in the R arcgisbinding package to write an sf object to a feature class in a file geodatabase. How do I define the field types of the resulting feature class. For example, I have a field in R which is a character (text) field -&amp;nbsp; "2018-11-10". When I write this file to a feature class, this field gets interpreted as a 'double' field but I want this field to be interpreted as a 'text' field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fgdb_path &amp;lt;- file.path("path")&lt;BR /&gt;arc.write(file.path(fgdb_path, "layer), data=sf_object)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Oct 2018 16:56:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-hub-questions/defining-field-types-with-r-arcgisbinding/m-p/794693#M3914</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-10-08T16:56:22Z</dc:date>
    </item>
  </channel>
</rss>

