rolldown
Expands a coarser period sheet down to a finer one, detecting the input period
from its shape (no from argument).
API Reference
Signature
Parameters
Supported directions: year → quarter/month/day, quarter → month/day, month → day.
Returns
A fixed-shape target period sheet, keys ascending. Source "-"/undefined and
non-existent days are "-" without calling using. A leap year expands to 366
valid target days, a common year to 365.
Throws
SHEET_INVALID_ROLLDOWN_OPTIONS— invalidtoor non-functionusing.SHEET_UNRECOGNIZED_PERIOD_SHEET— input is not a recognizable period sheet.SHEET_UNSUPPORTED_ROLLDOWN— same-or-coarser target.
Agent Contract
Agent Notes
- Unlike aggregation/rollup,
usingreceives a single value plus acontext(allocation needs the target position and count). - The default copies — divide by
context.targetCountfor even allocation. - Do not pass
from; the shape is detected.