An open API service indexing awesome lists of open source software.

https://github.com/dataship/beam

Get collimate'd data into Frame, in Node or the Browser
https://github.com/dataship/beam

column-store data data-science

Last synced: 7 months ago
JSON representation

Get collimate'd data into Frame, in Node or the Browser

Awesome Lists containing this project

README

          

# beam
Download [collimate](https://github.com/dataship/collimate)'d files for use in a [Frame](https://github.com/dataship/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](https://github.com/dataship/collimate).

```javascript
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);
});
```