Resources - NG      NG Industry Product</span></span></code></pre></div>
</div>
<div class="section level3">
<h3 id="collapse">Collapse<a class="anchor" aria-label="anchor" href="#collapse"></a>
</h3>
<p>With the metadata now in place,
<code>UKEnergy2000_with_metadata</code> can be collapsed to a
<code>matsindf</code> data frame by the
<code>collapse_to_matrices</code> function. Much like
<code><a href="https://dplyr.tidyverse.org/reference/summarise.html" class="external-link">dplyr::summarise</a></code>, 