AddText | R Documentation |
Network is supplemented with additional social media text data applied as node or edge attributes.
AddText(net, data, ...) add_text(net, data, ...)
net |
A named list of dataframes |
data |
A dataframe generated by |
... |
Additional parameters passed to function. |
Network as a named list of two dataframes containing $nodes
and $edges
including columns
containing text data.
Supports social media activity
and actor
networks. Refer to AddText.activity.reddit
and AddText.actor.reddit
for additional reddit parameters. Refer to
AddText.actor.youtube
for additional YouTube actor network parameters.
## Not run: # add text to an activity network net_activity <- collect_data |> Create("activity") |> AddText(collect_data) # 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.