 &lt;chr&gt;  &lt;dbl&gt;
## 1 A     2022  x         46
## 2 B     2022  x          2
## 3 C     2022  x         21
## 4 A     2023  x         32
## 5 B     2023  x         16</code></pre>
<div class="sourceCode" id="cb25"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb25-1"><a href="get-started.html#cb25-1" tabindex="-1"></a><span class="do">## turn long-format data into wide-format data</span></span>
<span id="cb25-2"><a href="get-started.html#cb25-2" tabindex="-1"></a>data_wide <span cl