Add columns containing text data to reddit activity network dataframes
Source:R/AddText.R
AddText.activity.reddit.Rd
Add columns containing text data to reddit activity network dataframes
Usage
# S3 method for class 'activity.reddit'
AddText(net, data, cleanText = FALSE, ..., writeToFile = FALSE, verbose = TRUE)
Arguments
- net
A named list of dataframes
nodes
andedges
generated byCreate
.- data
A dataframe generated by
Collect
.- cleanText
Logical. Simple removal of problematic characters for XML 1.0 standard. Implemented to prevent reddit specific XML control character errors when generating graphml files. Default is
FALSE
.- ...
Additional parameters passed to function. Not used in this method.
- writeToFile
Logical. Write data to file. Default is
FALSE
.- verbose
Logical. Output additional information. Default is
TRUE
.