title: Web scraping table R
body: <p>I'm trying to get the data from the rating column on this site <a href="https://www.ratingraph.com/tv-shows/one-piece-ratings-17673/" rel="nofollow noreferrer">https://www.ratingraph.com/tv-shows/one-piece-ratings-17673/</a>, but I'm having problems with &quot;{xml_nodeset (0)}&quot;.</p>
  <p>my attempt:</p>
  <pre><code>library(&quot;rvest&quot;)
  `%&gt;%` &lt;- magrittr::`%&gt;%`
  
  page &lt;- read_html(&quot;https://www.ratingraph.com/tv-shows/one-piece-ratings-17673/&quot;)
  table &lt;- page %&gt;% 
    html_nodes(&quot;table&quot;) 
  df &lt;- table[2] %&gt;% 
    html_table()
  </code></pre>
  <p>These are the data I want:</p>
  <p><img src="https://i.stack.imgur.com/KCmCu.png" alt="these are the data I want" /></p>