Extract most frequently used words from news titles

nwd_extract_keywords(language = NULL, date = NULL, n = Inf, store = TRUE)

Arguments

language

A character vector of language two letter codes. Defaults to NULL. If NULL, processes available languages.

date

Only news downloaded in the given date will be considered. Defaults to current day. To get data for the previous day, use `Sys.Date()-1`

n

An integer. Number of words to keep. Defaults to `Inf` (i.e. keeps all words, ordered by frequency).

Value

A data.frame (a tibble) with `n` number of rows and two columns, `words` and `n` for number of occurrences.

Examples