title: Read data frame until a specific row in R
body: <p>I have a data frame that is divided into 2 parts.  Here's an example:</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th style="text-align: left;">Type A</th>
  <th style="text-align: center;"></th>
  <th style="text-align: right;"></th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td style="text-align: left;">1</td>
  <td style="text-align: center;">0</td>
  <td style="text-align: right;">1</td>
  </tr>
  <tr>
  <td style="text-align: left;">1</td>
  <td style="text-align: center;">2</td>
  <td style="text-align: right;">1</td>
  </tr>
  <tr>
  <td style="text-align: left;"><strong>Type B</strong></td>
  <td style="text-align: center;"></td>
  <td style="text-align: right;"></td>
  </tr>
  <tr>
  <td style="text-align: left;">1</td>
  <td style="text-align: center;">2</td>
  <td style="text-align: right;">3</td>
  </tr>
  <tr>
  <td style="text-align: left;">1</td>
  <td style="text-align: center;">2</td>
  <td style="text-align: right;">3</td>
  </tr>
  </tbody>
  </table>
  </div>
  <p><code>Type A</code> and <code>Type B</code> are headers that appear before the data.  How can I tell R to read all the rows before the row where <code>Type B</code> appears?</p>