barnard59-csvw
TypeScript icon, indicating that this package has built-in type declarations

2.2.2 • 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"
  ].

/barnard59-csvw/

    Package Sidebar

    Install

    npm i barnard59-csvw

    Weekly Downloads

    1,783

    Version

    2.2.2

    License

    MIT

    Unpacked Size

    54.1 kB

    Total Files

    20

    Last publish

    Collaborators

    • tpluscode
    • zazuko-bot