Description Usage Arguments Functions Examples
View source: R/api_functions.R
Returns the creative works (containing both news articles and media objects) or only news articles or only media objects (videos). Contains a link to the original source and an archived version, as well as an abstract (if applicable).
1 2 3 4 5 | get_creative_works(pages = 1)
get_news_articles(pages = 1)
get_media_objects(pages = 1)
|
pages |
Either the number of pages to download or "all". Defaults to 1. |
get_news_articles
: Get only news articles.
get_media_objects
: Get only media objects (videos).
1 2 3 4 5 6 | ## Not run:
get_news_articles(pages=1)
get_media_objects("all")
get_creative_works() # equivalent to pages=1
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.