Displaying 1 result from an estimated 1 matches for "fantasy_t".
Did you mean:
fantasy
2013 Feb 28
0
Scraping data from website---Error in htmlParse: error in creating parser
...t? How can
I scrape the RB projections (
http://accuscore.com/fantasy-sports/nfl-fantasy-sports/Rest-of-Season-RB)?
Thanks in advance!
library("XML")
#this works fine (QB projections)
qb <- readHTMLTable("http://accuscore.com/fantasy-sports/nfl-fantasy-sports/",
header=1)$fantasy_table
#this produces an error (RB projections)
rb <- readHTMLTable("
http://accuscore.com/fantasy-sports/nfl-fantasy-sports/Rest-of-Season-RB",
header=1)$fantasy_table
[[alternative HTML version deleted]]