Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 823 Bytes

File metadata and controls

38 lines (22 loc) · 823 Bytes

beam

Download collimate'd files for use in a Frame.

install

For use from the command-line:

npm install -g dataship-beam

For use as a library:

npm install --no-optional dataship-beam

This will exclude the argument parsing library for a smaller install.

command line usage

beam http://somedomain.com/data/somedataset/

where somedataset serves an index.json file in a suitable format.

usage

First, create a data set with collimate.

var beam = require('dataship-beam'),
	Frame = require('dataship-frame');

beam.read("path/to/data/set/", function(err, data){

	var columns = data.columns;
	var keys = data.keys;

	var frame = new Frame(columns, keys);
});