nesting

Helper to find combinations present in data

nesting() is used inside expand() or complete() to only use combinations that already appear in the data.

Parameters

Returns

A special marker for expand/complete.

Examples

expand(df, nesting($year, $month))