iv class="cell" data-hash="03-topic-models_cache/revealjs/unnamed-chunk-6_477d4a0772bdfa3506aebd911b3c176b">
<div class="sourceCode cell-code" id="cb5" data-code-line-numbers="|3"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb5-1"><a href="#cb5-1"></a><span class="fu">library</span>(tidytext)</span>
<span id="cb5-2"><a href="#cb5-2"></a>word_counts <span class="ot">&lt;-</span> books_by_document <span class="sc">%&gt;%</span></span>
<span id="cb5-3