powered by
Network is supplemented with additional social media text data applied as node or edge attributes.
AddText(net, data, ...)add_text(net, data, ...)
add_text(net, data, ...)
Network as a named list of two dataframes containing $nodes and $edges including columns containing text data.
$nodes
$edges
A named list of dataframes nodes and edges generated by Create.
nodes
edges
Create
A dataframe generated by Collect.
Collect
Additional parameters passed to function.
if (FALSE) { # add text to an activity network net_activity <- collect_data |> Create("activity") |> AddText(collect_data) # network net_activity$nodes net_activity$edges }
Run the code above in your browser using DataLab