This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copyright (c) 2010-2013, Zohar Bar-Yehuda | |
Copyright (c) 2010, Val Schmidt | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are | |
met: | |
* Redistributions of source code must retain the above copyright | |
notice, this list of conditions and the following disclaimer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var nodeio = require('node.io'), options = {timeout: 10}; | |
exports.job = new nodeio.Job(options, { | |
input: 'data/haeckel-plates.csv', | |
run: function(input) { | |
var self = this; | |
if (!input.type) { | |
var values = this.parseValues(input); | |
var keyword = values[2]; // hardcoded csv column |
NewerOlder