Pipe web client
Installation
npm install pipe-web-client --save
Usage
{compile-query} = (require \pipe-web-client) end-point: "pipe-api-server-url"
{execute, transformation-function, presentation-function} <- compile-query \your-query-id .then
# execute :: (Promise p) => Boolean -> Parameters -> p result
query-result <- execute false, {} .then
# transformation-function :: result -> Parameters -> result
transformed-result = transformation-function query-result, {}
# presentation-function :: DOMElement -> result -> Parameters -> DOM()
presentation-function view, transformed-result, {}
Plottables
- correlation-matrix
- funnel
- heatmap
- histogram
- histogram1
- multi-bar-horizontal
- multi-chart
- regression
- scatter
- scatter1
- stacked-area
- table
- timeseries
- timeseries1
Development
- run
gulp
- visit
http://localhost:8001
- for unit tests, run
npm test
- for code coverage, run
gulp coverage