These functions convert data frames stored in the list-column
'comment' of the data frame returned by post2df
to corpus objects in corpus
,
VCorpus
, and PCorpus
.
comment2qcorp(df) comment2tmcorp(df, PCorpus = FALSE, ...)
df | Data frame. A data frame generated by
|
---|---|
PCorpus | Logical. Whether to contruct corpus with
|
... | Additional arguments passed on to
|