Web Scraping Basketball Reference using R
问题 I'm interested in extracting the player tables on basketball-reference.com. I have successfully extracted the per game statistics table for a specific player (i.e. LeBron James, as an example), which is the first table listed on the web page. However, there are 10+ tables on the page that I can't seem to extract. I've been able to get the table into R a couple different ways. First, using the rvest package: library(rvest) lebron <- "https://www.basketball-reference.com/players/j/jamesle01