Class - builtin.xsv.xsv.iov2.input.XsvInput2
¶
JSON Schema¶
XsvInput2¶
Read a XSV file using petl.io.csv.fromcsv and provide the data to the remaining steps of the job. An XSV file is any flat text file containing tabular data separated by a delimiter. Example usage: {
"input": {
"use": "xsv.iov2#XsvInput2",
"source": "/var/mitto/data/test_csv.csv",
"encoding": "ASCII",
"delimiter": ",",
"includes_header": true
},
"output": {}
}
|
|||
type |
object |
||
properties |
|||
|
Source |
||
|
|||
type |
string |
||
format |
path |
||
|
Encoding |
||
|
|||
type |
string |
||
examples |
ASCII |
||
utf-8 |
|||
ISO-8859-9 |
|||
|
Noneify |
||
|
|||
examples |
(‘’, ‘#Error’) |
||
[‘none’, ‘NONE’, ‘None’] |
|||
default |
True |
||
anyOf |
type |
boolean |
|
type |
array |
||
items |
|||
type |
array |
||
items |
|||
|
Includes Header |
||
|
|||
type |
boolean |
||
examples |
true |
||
false |
|||
default |
True |
||
|
Skip |
||
Skip x number of lines. |
|||
type |
integer |
||
minimum |
0 |
||
default |
0 |
||
|
Errors |
||
Set the behavior of csv.reader to raise an exception on bad CSV input. |
|||
type |
string |
||
default |
strict |
||
|
Delimiter |
||
|
|||
type |
string |
||
examples |
, |
||
; |
|||
: |
|||
\| |
|||
\\t |
|||
\\\\\’ |
|||
\\\\\” |
|||
default |
, |
||
additionalProperties |
False |