I an attempt to run the following code to scrape the table titled "Advanced", whos id is also dictated as "advanced":
url <- paste0("https://www.basketball-reference.com/teams/GSW/2016.html")
webpage <- read_html(url)
col_names <- webpage %>%
html_nodes("table#advanced")
However, when I run this code and try to print col_names
, I receive the following value: {xml_nodeset (0)}
. How can I properly scrape my desired table?