Create.actor.youtube {vosonSML} | R Documentation |
Create YouTube actor network
Description
Creates a YouTube actor network from comment threads on YouTube videos. Users who have made comments to a video (top-level comments) and users who have replied to those comments are actor nodes. The comments are represented as directed edges between the actors. The video id is also included as an actor node, representative of the videos publisher with top-level comments as directed edges towards them.
Usage
## S3 method for class 'actor.youtube'
Create(datasource, type, ...)
Arguments
datasource |
Collected social media data with |
type |
Character string. Type of network to be created, set to |
... |
Additional parameters passed to function. Not used in this method. |
Value
Network as a named list of two dataframes containing $nodes
and $edges
.
Examples
## Not run:
# create a YouTube actor network graph
actorNetwork <- youtubeData |> Create("actor")
# network
# actorNetwork$nodes
# actorNetwork$edges
## End(Not run)
[Package vosonSML version 0.32.7 Index]