To upload data in CSV format, the Domo specification used for representing data grids in CSV format closely follows the RFC standard for CSV (RFC-4180). We extend the RFC in the following ways:
All data uploaded in this format must comply with a schema that is supplied separately from the upload. For example the CSV must comply with the correct number of columns and field types.
|a,b,c||One row with three columns|
|“a”,b,c||Escaped first column. Quotes do not count as part of the field|
|“a,a”,b,c||One row with three columns. The first field is escaped and contains a comma as part of its text.|
|One row with three columns. The first field is escaped and contains a line feed as part of its text.|
|“a””a”,b,c||The first field is escaped and contains an escaped quote as part of its text.|
|???,b,c||Unicode characters as part of the first field.|
|a,b,c||One row with the optional terminating line feed. It is recommended that all uploads to Domo include the optional terminating line feed.
If not supplied Domo may automatically include the linefeed.
|,,||One row with three null values.|
|“”,””,””||One row with three empty string values.|
Examples of Invalid CSV:
|a”,b,c||Quote appearing in a non-escaped field.|
|“a”a”,b,c||Unescaped quoted appearing in a non-escaped field.|
|Line feed appearing in a non-escaped field. This could also be considered missing columns in row one and two.|
|Missing fields in the second row.|