I wanted to extract only table values from the following link. url<-"https://www.ds-norden.com/drycargo/fleetlist/"
I was trying the following code but I am not getting my desired output
library(rvest)
url <- "https://www.scorpiobulkers.com/our-fleet/"
webpage<-read_html(url)
rank_data_html<- html_node(webpage,".col-main")
rank_data<-html_text(rank_data_html)
head(rank_data)
from this code, I was getting the whole text of the webpage. I just wanted the fleet list which in the table of the webpage and store that as df in R.