pbeshai / tidy

Tidy up your data with JavaScript, inspired by dplyr and the tidyverse
https://pbeshai.github.io/tidy
MIT License
725 stars 21 forks source link

Allow `second` and `minute` granularity #29

Closed konsalex closed 3 years ago

konsalex commented 3 years ago

Hey there Peter,

I use Tidy.js for mocking data in Storybook and also to test some React components.

At the moment I am building a monitoring platform for Neo4j databases, and a more frequent granularity was useful for me to check how charts are displaying in the time axis, and mock more appropriate data suited for my use case.

I am not sure if granularity of day with a period of 1 / (24(h)*60(minutes)) would work, to update the granularity with a period of one minute, but a more native implementation helped me, so I though of making a PR.

pbeshai commented 3 years ago

Thank you! Up in v2.1.0