keen / keen-analysis.js

A light JavaScript client for Keen
https://keen.io/docs/compute/
MIT License
40 stars 15 forks source link

Cached Datasets #20

Closed jtfell closed 7 years ago

jtfell commented 7 years ago

I have a use case that would fit cached datasets perfectly. The problem is that I'm using the keen-analysis library and need to keep the cached dataset usage in sync with the queries run ad-hoc (as some custom logic will operate on both sets of results). Therefore I need to reuse the Keen.Query declarations to define some cached datasets.

My questions:

a) Is there any cached dataset support in keen-analysis or is it planned in the near future? b) If there isn't, can I get some pointers on how to go about adding it that would be likely to be merged?

dustinlarimer commented 7 years ago

@jtfell your patch has been published and deployed as v1.3.0 -- thanks again for your help 👍

jtfell commented 7 years ago

Cheers @dustinlarimer - looking forward to taking it for a spin!