R/qf_emm_newsbrief.R
qf_emm_extract_entities.Rd
Extract most frequently used entities in emm newsbrief items
qf_emm_extract_entities( language = NULL, days = NULL, date = NULL, n = Inf, store = TRUE )
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). |
A data.frame (a tibble) with `n` number of rows and two columns, `words` and `n` for number of occurrences.