e> to retrieve values for a
specified stat, season, and league. See the docs for the function for a
complete list of <code>stat_name</code>s. Note that some stats are only
available for either team or player, and that some names are different
for teams and players (e.g. <code>"Expected goals"</code> for
<code>"team"</code> and <code>"Expected goals (xG)"</code> for
<code>"player"</code>).</p>
<div class="sourceCode" id="cb4"><pre class="downlit sourceCode r">
<code class="sourceCode R"><span class="va">epl