Description Usage Arguments Value References Examples
Read in the content from a .html file. This is generalized, reading in all body text. For finer control the user should utilize the xml2 and rvest packages.
1 2 3 |
file |
The path to the .html file. |
skip |
The number of lines to skip. |
remove.empty |
logical. If |
trim |
logical. If |
... |
Other arguments passed to xml2::read_html(). |
Returns a character vector.
The xpath is taken from Tony Breyal's response on StackOverflow: https://stackoverflow.com/questions/3195522/is-there-a-simple-way-in-r-to-extract-only-the-text-elements-of-an-html-page/3195926#3195926
1 2 3 4 5 6 7 8 9 10 11 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.