an class="fu">group_by</span>(title) <span class="sc">%&gt;%</span></span>
<span id="cb3-3"><a href="#cb3-3"></a>    <span class="fu">mutate</span>(<span class="at">document =</span> <span class="fu">row_number</span>() <span class="sc">%/%</span> <span class="dv">500</span>) <span class="sc">%&gt;%</span></span>
<span id="cb3-4"><a href="#cb3-4"></a>    <span class="fu">ungroup</span>() <span class="sc">%&gt;%</span></span>
<span id="cb3-5"><a href="#cb3-5"></a>    <span class="fu">unite</span>(document, t