CSV Dialect Description Format
From Just Solve the File Format Problem
(Difference between revisions)
Ross-spencer (Talk | contribs) (Delineate examples) |
Ross-spencer (Talk | contribs) (Add info about Data Package) |
||
Line 4: | Line 4: | ||
}} | }} | ||
'''CSV Dialect Dscription Format''' is a [[JSON]]-based format for describing the particular rules for a variety of delimited files, such as [[CSV]] or [[tab delimited]]. It does not describe the format of the data fields within a record of the file; this may be done with [[JSON Table Schema]] or [[CSV Schema]]. | '''CSV Dialect Dscription Format''' is a [[JSON]]-based format for describing the particular rules for a variety of delimited files, such as [[CSV]] or [[tab delimited]]. It does not describe the format of the data fields within a record of the file; this may be done with [[JSON Table Schema]] or [[CSV Schema]]. | ||
+ | |||
+ | The original source of the specification, dataprotocols.org is now now Data Package at [https://datapackage.org/ datapackage.org] from Frictionless Data. Their specifications are also available on their [https://github.com/frictionlessdata/datapackage GitHub]. | ||
== Examples == | == Examples == | ||
Line 37: | Line 39: | ||
== Links == | == Links == | ||
+ | |||
+ | * [https://github.com/frictionlessdata/datapackage Data Package GitHub repo]. | ||
* [http://dataprotocols.org/csv-dialect/ Official description/spec] | * [http://dataprotocols.org/csv-dialect/ Official description/spec] | ||
* [https://web.archive.org/web/20131017022844/http://dataprotocols.org/csv-dialect/ Official description/spec via archive.org (v1.0)] | * [https://web.archive.org/web/20131017022844/http://dataprotocols.org/csv-dialect/ Official description/spec via archive.org (v1.0)] | ||
[[Category:JSON based file formats]] | [[Category:JSON based file formats]] |
Latest revision as of 17:02, 18 April 2025
CSV Dialect Dscription Format is a JSON-based format for describing the particular rules for a variety of delimited files, such as CSV or tab delimited. It does not describe the format of the data fields within a record of the file; this may be done with JSON Table Schema or CSV Schema.
The original source of the specification, dataprotocols.org is now now Data Package at datapackage.org from Frictionless Data. Their specifications are also available on their GitHub.
Contents |
[edit] Examples
[edit] 1.0
{ "csvddf_version": 1.0, "dialect": { "delimiter": ",", "doublequote": false, "lineterminator": "\r\n", "quotechar": "\"", "skipinitialspace": false } }
[edit] 1.2
{ "csvddfVersion": 1.2, "delimiter": ",", "doubleQuote": true, "lineTerminator": "\r\n", "quoteChar": "\"", "skipInitialSpace": true, "header": true }