Description Usage Arguments Value Examples
Returns news sources with meta data.
1 2 |
category |
Name of news category. |
language |
Name of language must be one of en, de, or fr. Defaults to all. |
country |
Name of country must be one of au, de, gb, in, it, us. Defaults to all. |
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 5 6 7 8 | ## Not run:
## get english language news sources
df <- get_sources(language = "en")
## preview data
df
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.