We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
skipBlankRows is a boolean property of a W3C Tabular Metadata Dialect. When true, blank rows within the CSV file are valid.
skipBlankRows
I can see that internally the CsvOptions has a :skip_blanks property, but it cannot be set and also its value is ignored.
CsvOptions
:skip_blanks
As it's part of W3C Tabular metadata it would be nice to support this when basing the schema on that, like
{ "@context": "http://www.w3.org/ns/csvw", "url": "http://example.com/example1.csv", "tableSchema": { "dialect": { "skipBlankRows": true }, "columns": [ ] } } ... schema = Csvlint::Schema.load_from_json(uri) validator = Csvlint::Validator.new( "http://example.org/data.csv", nil, schema )
Also, although its not part of CSVDDF, it would be nice to support an equivalent setting when building the dialect directly, like:
dialect = { 'skip_blank_rows': true } validator = Csvlint::Validator.new(@csv, dialect, schema)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
skipBlankRows
is a boolean property of a W3C Tabular Metadata Dialect. When true, blank rows within the CSV file are valid.I can see that internally the
CsvOptions
has a:skip_blanks
property, but it cannot be set and also its value is ignored.As it's part of W3C Tabular metadata it would be nice to support this when basing the schema on that, like
Also, although its not part of CSVDDF, it would be nice to support an equivalent setting when building the dialect directly, like:
The text was updated successfully, but these errors were encountered: