How to do it…

The steps to implement this recipe are as follows:

  1. Load the rvest library. This is a specialized library for reading and processing HTML web pages.
  2. Create an object containing the URL as a character string.
  3. 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)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset