2.1.0 • Published 6 months ago

barnard59-csvw v2.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 months ago

barnard59-csvw

Simplifies handling CSVW mapping documents in barnard59 pipelines

Install

npm install barnard59-csvw --save

Exported steps

fetch

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.

ArgumentTypeDescription
csvwstringLocal path or URL of the mapping to load

Example: Loading CSVW from filesystem

@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"
  ].
1.0.2

8 months ago

1.0.1

9 months ago

2.1.0

6 months ago

2.0.0

7 months ago

1.0.0

3 years ago

0.1.0

3 years ago