assemble_corpus: First corpus building function

Description Usage Arguments Details

Description

First corpus building function

Usage

1
assemble_corpus(data, stopwords, remove_twitter)

Arguments

data

The data from which the corpus is drawn with documents in first column

stopwords

Words to exclude from the clustering

remove_twitter

Whether to remove text associated with Twitter content, useful for when analyzing data from this source (defaults to FALSE)

...

The metadata columns following the text column

Details

Puts together the corpus and dfm from the data frame provided


alishinski/clustRcompaR documentation built on May 12, 2019, 9:54 a.m.