Skip to content

doubleshow/refiner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

refiner

CSV stream library for manipulating data

Install

$ npm install

Example

var refine = require('refiner')

fs.createReadStream('data/colorado5.csv')
    .pipe(csv.parse())
    .pipe(refine.skipfirst())
    .pipe(refine.head(2))
    .pipe(refine.print())

Test

Run all test cases

$ mocha 

Run a particular test case (-g)

$ mocha -g head
$ mocha -g sunrise

Resources

Test Data

  • colorado.csv - colordo census data
  • colorado5.csv - colordo census data (first five rows, use this for testing/debugging)
  • insurance.csv - (36k+ rows)

Examples

located in examples/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published