|
3 | 3 | ### Added |
4 | 4 |
|
5 | 5 | - New `aggregate` SETTING on Identity-stat layers (point, line, area, bar, ribbon, |
6 | | -range, segment, arrow, rule, text). Collapses each group to a single row by |
7 | | -replacing every numeric mapping in place with its aggregated value. Accepts a |
8 | | -single string or array of strings; entries are either unprefixed defaults |
9 | | -(`'mean'`) or per-aesthetic targets (`'y:max'`, `'color:median'`). Up to two |
10 | | -defaults may be supplied — the first applies to lower-half aesthetics plus all |
11 | | -non-range layers, the second to upper-half (`max`/`end` suffix). Numeric |
12 | | -mappings without a target or applicable default are dropped with a warning. |
| 6 | +range, segment, arrow, rule, text). By default it collapses each group to a |
| 7 | +single row by replacing every numeric mapping in place with its aggregated |
| 8 | +value. Accepts a single string or array of strings; entries are either |
| 9 | +unprefixed defaults (`'mean'`) or per-aesthetic targets (`'y:max'`, |
| 10 | +`'color:median'`). Up to two defaults may be supplied — the first applies to |
| 11 | +lower-half aesthetics plus all non-range layers, the second to upper-half |
| 12 | +(`max`/`end` suffix). Numeric mappings without a target or applicable default |
| 13 | +are dropped with a warning. Targeting the same aesthetic more than once |
| 14 | +(e.g. `aggregate => ('y:min', 'y:max')`) produces one row per function with |
| 15 | +a synthetic `aggregate` column tagging each row, available for `REMAPPING` to |
| 16 | +another aesthetic; targets with a single function and the unprefixed defaults |
| 17 | +are reused unchanged across the exploded rows. The `aggregate` column's value |
| 18 | +is built from the dedup-and-joined function names of all exploded targets at |
| 19 | +each row, separated by `/` (so `('y:min', 'y:max', 'color:sum', 'color:prod')` |
| 20 | +yields `'min/sum'` and `'max/prod'`). Mixed lengths above 1 are an error. |
13 | 21 | - Add cell delimiters and code lens actions to the Positron extension (#366) |
14 | 22 | - ODBC is now turned on for the CLI as well (#344) |
15 | 23 | - `FROM` can now come before `VISUALIZE`, mirroring the DuckDB style. This means |
|
0 commit comments