RMI-PACTA / pacta.multi.loanbook.plot

Tools to Plot Climate Metrics for Multiple Loanbooks
https://rmi-pacta.github.io/pacta.multi.loanbook.plot/
Other
0 stars 0 forks source link

feat: ensure all plots can handle the variable filtering/grouping functionality from `pacta.multi.loanbook.analysis` #27

Closed jacobvjk closed 4 months ago

jacobvjk commented 5 months ago

When we add variable filtering/grouping to pacta.multi.loanbook.analysis, this will affect the output formats in that the data will have columns id_loanbook (to identify the source loan book) and group_var (to identify any additional variable the calculations may be grouped by), instead of only group_id (which stood in for the loan book identifier).

The expectations across the prep_* and plot_* functions need to be adjusted, and where necessary an option to display the group_var should be added.

relates to

AB#10497