I am trying to scrape the expanded standings portion of this website (https://www.basketball-reference.com/leagues/NBA_2022_standings.html) but keep returning character (empty) in my environment. Here is my code:
url3 <- 'https://www.basketball-reference.com/leagues/NBA_2022_standings.html'
webpage3 <- read_html(url3)
teams_standings_data_html <- html_nodes(webpage3, '#expanded_standings .left')
teams_standings_data <- html_text(team_standings_data_html)
any help would be greatly appriciated!