html_to_text.Rd
Convert HTML to Text
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
# NOT RUN { 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) } # }