terms_tokens_map: Summarize mappings between terms and tokens from a text...

Description Usage Arguments Value

View source: R/term-analysis.R

Description

terms_tokens_map summarizes the result returned by the terms_by_date function(s). The primary purpose is to use this in labelling results in for example plots.

Usage

1
terms_tokens_map(termsByDate)

Arguments

termsByDate

a dataframe as returned by terms_by_date

Value

a dataframe with four columns:

term

a unique character sequence identified in a text source

term_instances

a list of unique instances of term (i.e. tokens) that were reduced to term

n_term_instances

a list of respective counts of the term instances in term_instances

term_label

a suitable default label for the term


sdaume/topicsplorrr documentation built on Dec. 22, 2021, 11:11 p.m.