title: Determination of correct CSS selector for rvest to scrape realtor.com
body: <p>I am attempting to scrape information from realtor.com at the following address for an example home in Des Moines, IA. </p>
  
  <p><a href="http://www.realtor.com/realestateandhomes-detail/2419-Hart-Ave_Des-Moines_IA_50320_M85646-67738" rel="nofollow">http://www.realtor.com/realestateandhomes-detail/2419-Hart-Ave_Des-Moines_IA_50320_M85646-67738</a></p>
  
  <p>The information I am particularly interested in is under "Payment Options", specifically on in the "wheel chart" where Principal &amp; Interest, Property Tax, and Home Insurance values are listed and graphically displayed. I have inspected the element for this page, and it seems to me that the CSS selector I need is: </p>
  
  <p>span #principle_interest .float-right</p>
  
  <p>I am not sure if it is appropriate to have spaces in the above, but have tried both ways. Following is my R code:</p>
  
  <pre><code>## Load rvest package
  library(rvest)
  ## Parse realtor.com page html
  siteHTML &lt;- read_html("http://www.realtor.com/realestateandhomes-detail/2419-Hart-Ave_Des-Moines_IA_50320_M85646-67738")
  ## Attempt to extract principle interest value
  PBI &lt;- siteHTML %&gt;% html_nodes("span#principle_interest.float-right")
  </code></pre>
  
  <p>After this attempt, PBI is equal to "{xml_nodeset (0)}"</p>
  
  <p>My attempts extracting the address, including city and zip code, as well as total price, number of baths, beds, square feet and lot square feet were all successful, but I could not get this part to work. Does anyone have any insight here? I sincerely apologize if this is a double post, I couldn't find anything similar upon looking around. Am I strongly oversimplifying the CSS perhaps?</p>
  
  <p>Thank you so much!</p>