I'm not familiar with web scraping although I've managed to get some contents in few ocasions. However, this time although my problem looks simple I can't get a string containing the symbol, name and market in a web page. That is, I'd like to get the string "Merck KGaA (MRK.DE) -XETRA" in the url. I've tried the following code which returns few tables but I can't get the piece I'm looking for:
url <- 'https://finance.yahoo.com/q?s=MRK.DE&ql=0'
require(httr)
require(XML)
table <- readHTMLTable(content(GET(url)),header=TRUE)