The steps to implement this recipe are as follows:
- Load the rvest library. This is a specialized library for reading and processing HTML web pages.
- Create an object containing the URL as a character string.
- Call the read_html() function and pass the object containing the URL.
The code for the preceding steps is as follows:
library(rvest)
sourceURL <-
"https://en.wikipedia.org/wiki/Programming_with_Big_Data_in_R"
htmlTextData <- read_html(sourceURL)