library('rvest')
player <- html("http://www.sports-reference.com/cbb/players/dejounte-murray-1.html")
advanced <- html_nodes(player, "#players_advanced .right")
html_text(advanced)
/## results in character(0)
advanced
/## results in list(), attr(,"class"), [1] "XMLNodeSet"
当我尝试拉桌子而不是基本的桌子时,问题出现了,AKA html_nodes(播放器,“#players_per_game .right”)。为什么我在从本网站提取其他数据时遇到问题?在线帮助和示例中,我从他们的网站上提取额外数据没有任何问题。