read_ldnws | R Documentation |
Download and read the Livedoor News Corpus.
The result of this function is memoised
with memoise::memoise
internally.
read_ldnws(
url = "https://www.rondhuit.com/download/ldcc-20140209.tar.gz",
exdir = tempdir(),
keep = ldnws_categories(),
collapse = "\n\n",
include_title = TRUE
)
url |
String.
If left to |
exdir |
String. Path to tempolarily untar text files. |
keep |
Character vector. Categories to parse and keep in data.frame. |
collapse |
String with which |
include_title |
Logical. Whether to include title in text body field.
Defaults to |
This function downloads the Livedoor News Corpus and parses it to a tibble. For details about the Livedoor News Corpus, please see this page.
A tibble.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.