-
Notifications
You must be signed in to change notification settings - Fork 36
conversion:HeaderRow
timrdf edited this page Jul 6, 2012
·
15 revisions
csv2rdf4lod-automation is licensed under the [Apache License, Version 2.0](https://github.com/timrdf/csv2rdf4lod-automation/wiki/License)
Structural conversion:Enhancements:
- conversion:charset - to specify the character encoding of the input file.
- conversion:HeaderRow - to specify the row that contains header data (or [dimensional values](Converting with cell based subjects)).
-
conversion:DataStartRow - to specify the first (inclusive) row that contains data.
- conversion:delimits_cell - to specify the character that terminates a cell.
- conversion:Only_if_column - to omit processing a row if a certain column's value is missing.
- conversion:Repeat_previous_if_empty_column - to "downfill" an empty cell with the value from above.
- conversion:repeat_previous - to specify a value that indicates repetition (instead of just an empty value).
- conversion:Omitted - to specify a column to omit.
- conversion:DataEndRow - to specify the last (inclusive) row that contains data.
Header is on row 2:
conversion:conversion_process [
conversion:enhance [
ov:csvRow 2;
a conversion:HeaderRow;
];
If there is no header, set ov:csvRow
to 0.
The row specified by conversion:HeaderRow becomes the #H
when using template variables to construct new values. If none are specified, then then #H
is 1.