title: web scraping a webpage with multiple tabs in R
body: <p>I was trying to scrape the expiry dates data in R from the following webpage: <a href="https://www.theice.com/productguide/ProductSpec.shtml?specId=251#expiry" rel="nofollow">https://www.theice.com/productguide/ProductSpec.shtml?specId=251#expiry</a>. This page contain several tabs, the expiry date is only one of them. The code I use is</p>
  
  <pre><code>library(RCurl)
  Canola &lt;- 'https://www.theice.com/productguide/ProductSpec.shtml?specId=251#expiry'
  WS &lt;- getURL(Canola,ssl.verifypeer=FALSE)
  library(XML)
  ParsedData &lt;- htmlParse(WS)
  CanolaExpDate &lt;- readHTMLTable(ParsedData)
  names(CanolaExpDate)
  </code></pre>
  
  <p>The final output is, however, the trading hours on the first tab-product specification.</p>
  
  <p>I am new to web scraping,not knowledgeable about html.Please advise.</p>