Gets the title of a URL by accessing the web address online and adds the title as a new column. See details for the meaning of "title". You need an internet connection to run this function.
Value
webtrack data.frame with the same columns as wt and a new column
called "title"
, which will be NA
if the title cannot be retrieved.
Details
The title of a website (the text within the <title>
tag
of a web site's <head>
) #' is the text that is shown on the "tab"
when looking at the website in a browser. It can contain useful information
about a URL's content and can be used, for example, for classification purposes.
Note that it may take a while to run this function for a large number of URLs.