articles.Rd
This endpoint retrieves latest or most popular local or world news articles around a specific city/location.
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. |
# NOT RUN { world <- acc_world_articles(popular = TRUE) local <- acc_local_articles(27.964157, -82.452606, pages = 2) # }