-
Notifications
You must be signed in to change notification settings - Fork 36
conversion:repeat_previous
timrdf edited this page Jul 6, 2012
·
9 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.
conversion:conversion_process [
a conversion:EnhancementConversionProcess;
conversion:enhancement_identifier "1";
conversion:interpret [
conversion:symbol "|";
conversion:interpretation conversion:repeat_previous;
];
:thing_13
raw:country "|" ;
raw:purpose "personal" ;
raw:year "2011" ;
raw:start_month "" ;
raw:end_month "" ;
raw:see_also "|" ;
raw:country_dbpedia_uri "|" ;
ov:csvRow "12"^^xsd:integer .
:thing_13
e1:country value_of_country:japan ;
e1:purpose "personal" ;
e1:year "2011" ;
e1:start_month "" ;
e1:end_month "" ;
e1:see_also <http://en.wikipedia.org/wiki/Fiscal_year> ;
e1:country_dbpedia_uri dbpedia:Japan ;
ov:csvRow "13"^^xsd:integer .
(not implemented; go vote)
conversion:conversion_process [
a conversion:EnhancementConversionProcess;
conversion:enhancement_identifier "1";
conversion:enhance [
ov:csvCol 1;
conversion:interpret [
conversion:symbol "|";
conversion:interpretation conversion:repeat_previous;
];