ent. We can accomplish that by adding an empty <code>[]</code> at the end of the query as shown below:</p>
<div class="sourceCode" id="cb9"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true"></a>flights[hour <span class="op">==</span><span class="st"> </span>24L, hour <span class="op">:</span><span class="er">=</span><span class="st"> </span>0L][]</span>
<span id="cb9-2"><a href="#cb9-2" aria-hidden="true"></a><span class="co">#         year month day d