dpkg-squirrel

Run a pipeline of analytics descibed as metadata of a datapackage, give them some inputs and package the outputs adding resources to the data package.

squirrel

Runs stuff in batch from some data package metadata, give them some inputs and package the outputs adding resources to the datapackage.

Usage

var Sqrl = require('dpkg-squirrel');
var dpgk = require('/path/to/data/package.json');

var sqrl = new Sqrl(dpkg, {concurrency: 4});
sqrl.start(function(err, newDpkg){
   //everything has been run;  newDpkg contains new resources
});
sqrl.on('step', function(msg){console.log(msg)});

Tests

npm test

Licence

MIT