news: News

Description Usage Arguments Value Examples

Description

Return latest news or specific articles.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
cur_latest()

cur_search(
  keyword = NULL,
  country = NULL,
  language = NULL,
  start_date = NULL,
  end_date = NULL,
  category = NULL
)

Arguments

keyword

Restict the search to articles that mention a specific keyword.

country

An ISO 2 country code, see cur_avail_regions for a full list.

language

An ISO 2 language code, see cur_avail_languages for a full lis.

start_date, end_date

Start and end dates, either as Date or POSIX.

category

Valid category, see cur_avail_categories for a full list.

Value

A tibble

Examples

1
2
3
4
5
6
## Not run: 
currents_key("xxXXxxXxXxXXXxxXx")

news <- search_news("Trump")

## End(Not run)

news-r/currents documentation built on Feb. 27, 2020, 2:38 p.m.