Description Usage Arguments Value Examples
Returns news sources with meta data.
1 | get_articles(source, sortBy = "", apiKey = NULL, parse = TRUE)
|
source |
Name of news source. |
sortBy |
Name of sorting mechanism must be one of latest, top, or popular. Certain methods only work for certain news sources. |
apiKey |
Character string API token. Default is to grab it from user R environ. |
parse |
Logical indicating whether to parse response object to data frame. |
Data frame or nested list.
1 2 3 4 | ## Not run:
df <- get_articles("espn")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.