Description Usage Arguments Details Value Author(s) Examples
Get the article text for a single url or a vector of urls.
1 | get_article_text(url, timeout = NULL)
|
url |
character. A single character string or character vector. |
timeout |
integer. Seconds to wait between queries. |
get_article_text
is the function, which fetches and parses an article. This function may break in the future due to layout changes on the ZEIT ONLINE website.
A named character vector with the respective text. If the content lies beyond the paywall the function returns "[ZEIT PLUS CONTENT] You need a ZEIT PLUS account to access this content.".
Jan Dix <jan.dix@uni-konstanz.de>
1 2 3 4 5 6 | ## Not run:
url <- paste0("https://www.zeit.de/kultur/film/2018-04/",
"tatort-frankfurt-unter-kriegern-obduktionsbericht")
get_article_text(url = url)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.