Description Usage Arguments Examples
This endpoint retrieves latest or most popular local or world news articles around a specific city/location.
1 2 3 | acc_local_articles(lat, lon, popular = FALSE, radius = 50, pages = 1)
acc_world_articles(q = NULL, popular = FALSE, pages = 1)
|
lat, lon |
Coordinates to retrieve local news articles from. |
popular |
Set to |
radius |
Radius in miles. from coordinates, maximum 300 miles. |
pages |
Number of pages of results to collect (100 per page). |
q |
Query to search for world latest articles. |
1 2 3 4 5 | ## Not run:
world <- acc_world_articles(popular = TRUE)
local <- acc_local_articles(27.964157, -82.452606, pages = 2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.