Liking cljdoc? Tell your friends :D
Clojure only.

tablecloth.time.api.adjust-interval


adjust-intervalclj

(adjust-interval dataset
                 index-column-name
                 keys
                 ->new-time-converter
                 new-column-name)

Adjusts the interval of the dataset by adding a new column new-column-name whose values are the result of applying time-converter to the column specified by index-column-name, and then performing a group-by operation on that column and any columns specified by keys.

Adjusts the interval of the dataset by adding a new column `new-column-name`
whose values are the result of applying `time-converter` to the column specified
by `index-column-name`, and then performing a `group-by` operation on that column
and any columns specified by `keys`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close