nrc

node-red-contrib-datakitjs

https://github.com/nathanepstein/datakit node for node-red

Showing:

Popularity

Downloads/wk

18

GitHub Stars

0

Maintenance

Last Commit

4yrs ago

Contributors

1

Package

Dependencies

1

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Node Red datakit

Data analysis tools for payload input data. This is a wrapper around the datakitjs Node library.

Inputs

Normally, the value of msg.payload is saved into the data set. When a message with a topic that ends in a datakit function name is received, that datakitjs is calculated and output as the msg.payload. For example, a message with the topic data/mean would output the mean of the data received so far. Optionally, the function name can be stripped from the topic. For datakitjs functions that require a parameter, the parameter is passed in using msg.payload.

Functions

The functions in the datakitjs library that are supported are:

Statistical Methods

  • mean
  • sd
  • vari
  • cov
  • reg

Convenience Methods

  • seq
  • rep
  • isclose
  • sum
  • prod
  • min
  • max

Random Numbers

  • exp
  • norm
  • uni

In addition, two other functions are implemented:

  • size - returns the size of the data set
  • clear - clears the data set

For more detailed information about the functions see the datakitjs API documentation.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100