title: Trouble Using Rvest for scraping
body: <p>I'm attempting to do something <a href="https://stackoverflow.com/questions/27831970/scraping-basketball-reference-com-in-r-xml-package-not-fully-working?newreg=eb1637a0a8df464fae56b90365da0f86">very similar to this question.</a></p>
  
  <p>However, I need a slightly different table. Sounds easy enough, right? But I've run into a weird case of "same code appears to work differently in two instances." Here's a simple test example.</p>
  
  <p>If I run the below code, the first instance runs fine. The second returns the following error:</p>
  
  <blockquote>
    <p>Error in UseMethod("html_table") : no applicable method for 'html_table' >applied to an object of class "xml_missing"</p>
  </blockquote>
  
  <p>The table names seem consistent with what I'm seeing in SelectorGadget.</p>
  
  <pre><code>library(rvest)
  url_splits    &lt;-"http://www.basketball-reference.com/players/i/ingrabr01/splits/"
  stats_splits  &lt;- read_html(url_splits) %&gt;%
               html_node("table#splits") %&gt;%
               html_table()
  url_college   &lt;-"http://www.basketball-reference.com/players/i/ingrabr01.html"
  stats_college &lt;- read_html(url_college) %&gt;%
                   html_node("table#all_college_stats") %&gt;%
               html_table()
  </code></pre>
  
  <p>Obviously something must be different but I can't tell what it is. I tried using the xpath fro Selector instead with the same result. Any ideas?</p>