Description Usage Arguments Value Examples
Convert HTML to Text
1 | html_to_text(x, include_attributes = FALSE)
|
x |
HTML content (length 1 character vector) |
include_attributes |
Sets whether any attribute values are included in the output |
character vector of cleaned text
1 2 3 4 5 6 | fils <- list.files(system.file("extdata", package="jericho"), full.names=TRUE)
for (f in fils) {
d <- readBin(f, "raw", file.size(f))
d <- rawToChar(d)
html_to_text(d)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.