title: Rvest read table with cells that span multiple rows
body: <p>I'm trying to scrape an <a href="https://en.wikipedia.org/wiki/Arizona_League#Current_teams" rel="noreferrer">irregular table</a> from Wikipedia using rvest. The table has cells that span multiple rows. The <a href="https://www.rdocumentation.org/packages/rvest/versions/0.3.4/topics/html_table" rel="noreferrer">documentation</a> for <code>html_table</code> clearly states that this is a limitation. I'm just wondering if there's a workaround. </p>
  
  <p>The <a href="https://en.wikipedia.org/wiki/Arizona_League#Current_teams" rel="noreferrer">table</a> looks like this:
  <a href="https://i.stack.imgur.com/kQjD8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kQjD8.png" alt="enter image description here"></a></p>
  
  <p>My code:</p>
  
  <pre><code>library(rvest)
  url &lt;- "https://en.wikipedia.org/wiki/Arizona_League"
  parks &lt;- url %&gt;%
    read_html() %&gt;%
    html_nodes(xpath='/html/body/div[3]/div[3]/div[4]/div/table[2]') %&gt;%
    html_table(fill=TRUE) %&gt;%  # fill=FALSE yields the same results
    .[[1]]
  </code></pre>
  
  <p>Returns this:</p>
  
  <p><a href="https://i.stack.imgur.com/hWaC1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/hWaC1.png" alt="enter image description here"></a></p>
  
  <p>Where there are several errors, for example: row 4 under "City" should be "Mesa", NOT "Chicago Cubs". I'd be happy with blank cells as I could "fill down" as needed, but the wrong data is a problem. Help is much appreciated. </p>