AddText.activity.reddit | R Documentation |
Add columns containing text data to reddit activity network dataframes
## S3 method for class 'activity.reddit' AddText(net, data, cleanText = FALSE, ...)
net |
A named list of dataframes |
data |
A dataframe generated by |
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 |
... |
Additional parameters passed to function. Not used in this method. |
Network as a named list of two dataframes containing $nodes
and $edges
including columns
containing text data.
## Not run: # add text to an activity network net_activity <- collect_rd |> Create("activity") |> AddText(collect_rd) # network net_activity$nodes net_activity$edges ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.