frictionlessdata / datapackage

Data Package is a standard consisting of a set of simple yet extensible specifications to describe datasets, data files and tabular data. It is a data definition language (DDL) and data API that facilitates findability, accessibility, interoperability, and reusability (FAIR) of data.
https://datapackage.org
The Unlicense
481 stars 109 forks source link

skipBytes attribute #889

Open fomcl opened 4 months ago

fomcl commented 4 months ago

Sometimes data files contain extra bytes that need to be ignored. For example, files sometimes start with a 3-byte Byte-Order-Mark (BOM) that needs to be removed first. A skipBytes attribute at the data resource level could be used for this. Thus, skipBytes=3 means "skip the first 3 bytes of this particular resource". Negative numbers could be used to skip trailing bytes.

roll commented 2 months ago

Thanks! Categorized it as Data Resource feature request