tslumen icon indicating copy to clipboard operation
tslumen copied to clipboard

Hierarchical time series summary

Open galenseilis opened this issue 1 year ago • 0 comments

Describe the feature or enhancement you want to enable

Basically a selection option for when the data is arranged hierarchically according to a collection of categories. These hierarchies sometimes come from nested geographical features (e.g. country > province > region > district). They can also come from organizational structures, or parts of a facility, or some biological taxomonies, etc.

Being able to select from different levels of this hierarchies would be helpful in navigating hierarchical times series data.

Describe your proposed solution

Have an input to the HTML report constructor that receives a sequence of column names which are understood to be the hierarchical categories from top-to-bottom of the hierarchy. The implementation could ignore this option when it is None by default. But when it is given the HTML report constructs elements to have multiple selectors displayed in some order to specify the subset of the data of interest.

Describe alternatives you've considered, if relevant

Alternatively you can combine the different levels of categorical variables into tuples and use each tuple as label for each time series. This would create a very long list of options that may be less readible.

Additional context

galenseilis avatar Sep 01 '23 16:09 galenseilis