Long-format premature-death bucket rows for gsm.viz `bars`
Source:R/pd_BucketBarSpec.R
pd_BucketRows.RdAdapts [pd_BucketCounts()] to one row per (group, category) with within-group `pct`, plus stable `OuterGroupID` / `Level` keys for the country->site click-filter drilldown. Only categories a group actually has get a row.
Arguments
- dfClassified
`data.frame` Output of [pd_Classify()].
- nWindowDays
`numeric` Window in days.
- strGroupCol
`character` Column rendered on the category axis.
- strOuterCol
`character` Optional parent column carried as `OuterGroupID` (the site chart passes `"country"` so its rows drive the country->site click-filter narrowing and the click payload). Default `NULL`.