specs
specs copied to clipboard
Multi-line header rows
This has come up a few times now - including just now in https://github.com/frictionlessdata/forum/issues/41
I think the easiest would be to change header in csv dialect to be a number. This has advantage that current true and false values convert over to 0/1 quite nicely.
Related issues
- Support ignoreRows for TabularResource https://github.com/frictionlessdata/specs/issues/344
- Make the header row in the CSV optional https://github.com/frictionlessdata/specs/issues/326
Behavior
Tooling behaviour needs to utilize this.
Research
- https://github.com/onyxfish/csvkit/issues/188 - csvkit supports
--no-header now - Postgres COPY command as used in Redshift has "ignoreheader" as a number which is number of rows to skip: http://docs.aws.amazon.com/redshift/latest/dg/copy-parameters-data-conversion.html#copy-ignoreheader
Examples of formats with multi-line header rows mentioned recently on Discord:
- @jen-thomas : https://exchange-format.readthedocs.io/en/latest/
- @roll : https://hxlstandard.org/