qf_emm_extract_entities: Extract most frequently used entities in emm newsbrief items

Description Usage Arguments Value

View source: R/qf_emm_newsbrief.R

Description

Extract most frequently used entities in emm newsbrief items

Usage

1
2
3
4
5
6
7
qf_emm_extract_entities(
  language = NULL,
  days = 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.

days

An integer. How many days back in time should be considered, starting from today (0 means today only, 1 means yesterday, etc.)

date

Only news downloaded in the given date will be considered. Defaults to all available dates.

n

An integer. Number of entities to keep. Defaults to 'Inf' (i.e. keeps all entities, 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/edjnetquotefinder documentation built on Feb. 11, 2022, 12:51 p.m.