title: Filter rows with a time value that falls within several ranges
body: <p>I wonder if someone could help me out with this one.</p>
  <p>A friend of mine is dealing with ecological data that needs to be filtered when a time value falls into several ranges. Let's say we have a data frame with 3 columns:</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>ID</th>
  <th>TIME</th>
  <th>SPECIES</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>01</td>
  <td>22:45:43</td>
  <td>sp1</td>
  </tr>
  <tr>
  <td>02</td>
  <td>22:46:22</td>
  <td>sp2</td>
  </tr>
  <tr>
  <td>03</td>
  <td>23:21:11</td>
  <td>sp3</td>
  </tr>
  <tr>
  <td>04</td>
  <td>23:32:31</td>
  <td>sp1</td>
  </tr>
  <tr>
  <td>05</td>
  <td>00:11:37</td>
  <td>sp2</td>
  </tr>
  <tr>
  <td>06</td>
  <td>01:48:56</td>
  <td>sp4</td>
  </tr>
  <tr>
  <td>07</td>
  <td>02:36:22</td>
  <td>sp1</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>We want to select only those rows which time value is within several time ranges specified in another data frame:</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>ID</th>
  <th>START TIME</th>
  <th>END TIME</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>01</td>
  <td>22:00:00</td>
  <td>23:00:00</td>
  </tr>
  <tr>
  <td>02</td>
  <td>00:00:00</td>
  <td>01:00:00</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>In the above example, this will result in rows ID 1,2 and 5.</p>
  <p>Is there a way to do this without manually specifying the ranges one by one?</p>
  <p>Many thanks beforehand!
  Rob</p>