barnard59-csvw

2.1.0 • Public • Published

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.

Argument Type Description
csvw string Local 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"
  ].

Readme

Keywords

none

Package Sidebar

Install

npm i barnard59-csvw

Weekly Downloads

1,449

Version

2.1.0

License

MIT

Unpacked Size

9.91 kB

Total Files

16

Last publish

Collaborators

  • tpluscode
  • zazuko-bot