Simplifies handling CSVW mapping documents in barnard59 pipelines
npm install barnard59-csvw --save
A step to automate loading CSVW mapping documents and the source CSV, by following the csvw:url
property. The URL can be local filesystem path or remote URL.
Argument | Type | Description |
---|---|---|
csvw |
string |
Local path or URL of the mapping to load |
@prefix p: <https://pipeline.described.at/> .
@prefix code: <https://code.described.at/> .
<#CsvwStep> a p:Step;
code:implementedBy [ a code:EcmaScriptModule;
code:link <node:barnard59-csvw/fetch.js#default>
];
code:arguments [
code:name "csvw";
code:value "file:/test/mappings/remote.csvw.json"
].