span> <span class="st">&quot;night&quot;</span>) <span class="sc">|&gt;</span> </span>
<span id="cb19-5"><a href="get-started.html#cb19-5" tabindex="-1"></a>  <span class="do">## create 8 subsets (4 seasons x 2 years)</span></span>
<span id="cb19-6"><a href="get-started.html#cb19-6" tabindex="-1"></a>  <span class="fu">group_by</span>(season, year) <span class="sc">|&gt;</span> </span>
<span id="cb19-7"><a href="get-started.html#cb19-7" tabindex="-1"></a>  <span class="do">## calculate total counts and mean