>(</span><span class="va">wc_gas</span>, v.names <span class="op">=</span> <span class="st">"y"</span>, idvar <span class="op">=</span> <span class="st">"date"</span>,</span></span>
<span class="r-in"><span>                   timevar <span class="op">=</span> <span class="st">"state"</span>, direction <span class="op">=</span> <span class="st">"wide"</span><span class="op">)</span></span></span>
<span class="r-in"><span></span></span>
<span class="r-in"><span><span class="fu"><a href="https://rdrr.io/r/base