I have a problem. I have to extract information from the website: https://www.transfermarkt.co.uk/premier-league/startseite/wettbewerb/GB1 with the name of the club, the address of their website (transfermarkt profile) and the name of the stadium from the team's profile. This is my first contact with the extraction of data from websites. Any help appreciated. At first I wrote such code:
library(rvest)
theurl <- "https://www.transfermarkt.co.uk/premier-league/startseite/wettbewerb/GB1"
file<-read_html(theurl)
tables<-html_nodes(file, "table")
table1 <- html_table(tables[4], fill = TRUE)