<?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: Commas in quoted CSV columns still separating columns in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/commas-in-quoted-csv-columns-still-separating/m-p/769310#M3301</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zachary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned in the end, this is a known issue with Survey123's CSV parser.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Nov 2017 20:27:34 GMT</pubDate>
    <dc:creator>JamesTedrick</dc:creator>
    <dc:date>2017-11-20T20:27:34Z</dc:date>
    <item>
      <title>Commas in quoted CSV columns still separating columns</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/commas-in-quoted-csv-columns-still-separating/m-p/769308#M3299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've made an external CSV file with a &lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;pulldata&lt;/STRONG&gt; command in a calculation.&amp;nbsp; Here is an example of the syntax in the calculation column:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;pulldata('deficiency_list','citation','sdwis_deficiency_code',${G001_S001_DEF})&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And here are the top three lines of my &lt;STRONG&gt;deficiency_list.csv&lt;/STRONG&gt; file, including the header:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;sdwis_deficiency_code,system_type,element,condition,concern_description,citation&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;S001,Surface,Treatment,"4 in 1 valve pump supports a critical process (fluoride, coagulant feed, chlorine)",Critical processes require a reliable pump to deliver continuous and uninterrupted additive feeds. 4 in 1 valve pumps are inadequate for critical processes.,40 CFR 141.723(b)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;G001,Ground,Management/Operations,Additives or Materials directly added to water during production or treatment do not conform to ANSI/NSF Standard 60,Materials which are not approved for use in drinking water may fail prematurely or introduce contaminates into the drinking water supply.,20.7.10.400.K NMAC&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;As you can see, Excel exported the CSV file properly, meaning that if a cell had commas in it, it was double quoted so that commas won't break up a single column into multiple ones.&amp;nbsp; However, Survey123 Connect doesn't seem to respect the double quotes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;In this case, if the value of a previous column, &lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;G001_S001_DEF&lt;/STRONG&gt; is &lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;S001&lt;/STRONG&gt;, it should pull in the value from the CSV file's &lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;'citation'&lt;/STRONG&gt; column (the last one) which would be&amp;nbsp;&lt;SPAN&gt;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;40 CFR 141.723(b)&lt;/STRONG&gt; in this case.&amp;nbsp; However, what it pulls in is &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;chlorine)&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;.&amp;nbsp; It counts in five commas from the left and returns that value, even though two of those commas are in the double quotes and supposed to be within a single column.&amp;nbsp; If &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;STRONG&gt;G001_S001_DEF&lt;/STRONG&gt;&lt;/SPAN&gt; is &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;STRONG&gt;G001&lt;/STRONG&gt;&lt;/SPAN&gt;, it returns the correct column value, or&amp;nbsp;&lt;STRONG style="font-family: 'courier new', courier, monospace;"&gt;20.7.10.400.K NMAC&lt;/STRONG&gt;, because there are no commas in any other column up to that point.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I think this is just a bug with Survey123's CSV parser, but before I file a ticket, I'd like to see if there's a workaround.&amp;nbsp; I've tried using single quotes instead of double, no luck, tried backslashing the column internal commas, no luck.&amp;nbsp; I really need to do this, and I can maybe use the &lt;STRONG&gt;choices&lt;/STRONG&gt; tab in Excel to store the tabular data, but it will be harder to maintain over time.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2017 00:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/commas-in-quoted-csv-columns-still-separating/m-p/769308#M3299</guid>
      <dc:creator>ZacharyStauber1</dc:creator>
      <dc:date>2017-11-18T00:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Commas in quoted CSV columns still separating columns</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/commas-in-quoted-csv-columns-still-separating/m-p/769309#M3300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the interim use ... | ... the old vertical bar.&amp;nbsp; most people don't know where to find it on the keyboard and it least if you can translate it back to commas, your workflow won't be slowed down&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Nov 2017 00:10:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/commas-in-quoted-csv-columns-still-separating/m-p/769309#M3300</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2017-11-18T00:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Commas in quoted CSV columns still separating columns</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/commas-in-quoted-csv-columns-still-separating/m-p/769310#M3301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Zachary,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned in the end, this is a known issue with Survey123's CSV parser.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 20:27:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/commas-in-quoted-csv-columns-still-separating/m-p/769310#M3301</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-11-20T20:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: Commas in quoted CSV columns still separating columns</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/commas-in-quoted-csv-columns-still-separating/m-p/769311#M3302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;@Dan I tried the vertical bar when re-exporting the CSV file, and it didn't seem able to read it at all.&amp;nbsp; Although XLSForms doesn't allow you to specify a delimiter, I was hoping maybe it would take its cue from the initial column heading line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@James Thanks for the official word.&amp;nbsp; Is there an issue page I can subscribe to for this?&amp;nbsp; I'd hate to file a second issue if it's already in the queue to fix.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 20:58:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/commas-in-quoted-csv-columns-still-separating/m-p/769311#M3302</guid>
      <dc:creator>ZacharyStauber1</dc:creator>
      <dc:date>2017-11-20T20:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Commas in quoted CSV columns still separating columns</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/commas-in-quoted-csv-columns-still-separating/m-p/769312#M3303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We don't have na official tech support BUG number for this issue yet; please submit this via Esri Tech Support if you want to be able to track the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 21:08:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/commas-in-quoted-csv-columns-still-separating/m-p/769312#M3303</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2017-11-20T21:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Commas in quoted CSV columns still separating columns</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/commas-in-quoted-csv-columns-still-separating/m-p/769313#M3304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Will do, as soon as I stop getting the message "The Esri Support site is currently being impacted by technical issues that may restrict access to Bug Page on Support Site. We are working to address this issue and apologize for any inconvenience." on that page. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&amp;nbsp;&amp;nbsp;Until then, y'all have a Happy Thanksgiving!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Nov 2017 21:20:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/commas-in-quoted-csv-columns-still-separating/m-p/769313#M3304</guid>
      <dc:creator>ZacharyStauber1</dc:creator>
      <dc:date>2017-11-20T21:20:36Z</dc:date>
    </item>
  </channel>
</rss>

