nwd_extract_keywords: Extract most frequently used words from news titles

Description Usage Arguments Value

View source: R/extract_keywords.R

Description

Extract most frequently used words from news titles

Usage

1

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.


giocomai/networkedwebsitesdetector documentation built on Jan. 22, 2021, 5:42 p.m.