make_DTMs_parallel: Run the 'make_DTMs' function logic but with parallel...

View source: R/make_DTMs_parallel.R

make_DTMs_parallelR Documentation

Run the make_DTMs function logic but with parallel processing!

Description

Function does not implicitly clean the text variable like make_DTMs

Usage

make_DTMs_parallel(
  df,
  text_var,
  min_freq = 10,
  hashtags = FALSE,
  mentions = FALSE
)

Arguments

df

A data frame or tibble where each row is a separate post.

text_var

The variable containing the text which you want to explore.

min_freq

The minimum number of times a term must be observed to be considered.

Value

A nested tibble in which each row contains a document-term matrix.


jpcompartir/JPackage documentation built on March 20, 2023, 4 a.m.