Description Usage Arguments Details Value Author(s) References See Also Examples
View source: R/get_content_all.R
Exposes a search in the ZEIT online archive on the content endpoint and returns results for the given query. Performs multiple queries if limit exceeds 1000 rows.
1 2 | get_content_all(query, timeout = 2, begin_date = NULL,
end_date = NULL, api_key = Sys.getenv("ZEIT_ONLINE_KEY"))
|
query |
character. Search query term. |
timeout |
integer. Seconds to wait between queries. |
begin_date |
begin_date character. Begin date - Restricts responses to results with publication dates of the date specified or later. In the form YYYYMMDD. |
end_date |
character. End date - Restricts responses to results with publication dates of the date specified or earlier. In the form YYYYMMDD. |
api_key |
api_key character. The personal api code. To request an API key see: http://developer.zeit.de/quickstart/ This parameter is by default set to the R Environment. |
get_content
is the function, which interacts directly with the ZEIT Online API. I only used the content endpoint for this package. There are further endpoints (e.g. /author, /product) not included into this package to further specify the search if needed. The whole list of possible endpoints can be accessed here http://developer.zeit.de/docs/.
A list including articles and meta information about the query.
Jan Dix <jan.dix@uni-konstanz.de>
1 2 3 4 | ## Not run:
get_content(query = "Merkel")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.