I am trying to extract the full table content from the following link https://www.forbes.com/global2000/list/#tab:overall
I used the following code to extract the data,however the code just returns the table heading but not the contents.I think this is because of the nature of the website design ? In this case how do I extract the full table data,what am I missing ?
library(rvest)
url <- "https://www.forbes.com/global2000/list/#tab:overall"
html <- read_html(url)
node <- html%>%html_nodes("table")
company_data <- html_table(node)
company_data