The two posts below are great examples of different approaches of extracting data from websites and parsing it into R.
Scraping html tables into R data frames usin
You might try
htmlcode = read_html("URL") nodes=html_nodes(htmlcode,xpath='//*[contains(@href, "SEARCHTERM")]') %>% html_attr("href") df=as.data.frame(as.character(nodes)) names(df)="link"