Network as a named list of two dataframes containing $nodes and $edges including columns
containing text data.
Arguments
net
A named list of dataframes nodes and edges generated by Create.
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.
if (FALSE) {
# add text to an activity networknet_activity <- collect_rd |>
Create("activity") |>
AddText(collect_rd)
# networknet_activity$nodes
net_activity$edges
}