Helper to find combinations present in data
nesting() is used inside expand() or complete() to only use combinations that already appear in the data.
Symbol): The columns to nest (use
$col syntax).A special marker for expand/complete.
expand(df, nesting($year, $month))