ass="op">)</span></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># Plot the dataset with observations aggregated by year</span></span>
<span class="r-in"><span class="fu">plot_taxa_diversity</span><span class="op">(</span><span class="va">dataset</span>, time_window_size <span class="op">=</span> <span class="st">"year"</span><span class="op">)</span></span>
<span class="r-in"></span>
<span class="r-in"><span class="co"># Flatten the dataset, manipulate, then plot</span></span>
<span 