span><span class="st">"Expected goals"</span>, <span class="st">"xG conceded"</span><span class="op">)</span>,
  team_or_player <span class="op">=</span> <span class="st">"team"</span>
<span class="op">)</span>

<span class="co">## 2 leagues x 20 teams x 2 seasons x 2 stats = 160 rows</span>
<span class="va">team_xgs_2021</span> <span class="op"><a href="https://magrittr.tidyverse.org/reference/pipe.html" class="external-link">%&gt;%</a></span> <span class="fu"><a href="https://rdrr.io/r/base/nrow.html" cla