powered by
Creates an activity network from collected youtube video comment threads. Nodes are top-level comments, reply comments and videos. Edges are directed between the nodes and represent commenting activity.
# S3 method for activity.youtube Create(datasource, type, verbose = TRUE, ...)
Network as a named list of two dataframes containing $nodes and $edges.
$nodes
$edges
Collected social media data with "datasource" and "youtube" class names.
"datasource"
"youtube"
Character string. Type of network to be created, set to "activity".
"activity"
Logical. Output additional information about the network creation. Default is TRUE.
TRUE
Additional parameters passed to function. Not used in this method.
if (FALSE) { # create a youtube activity network graph activityNetwork <- youtubeData %>% Create("activity") # network # activityNetwork$nodes # activityNetwork$edges }
Run the code above in your browser using DataLab