powered by
Creates a reddit activity network from subreddit thread comments. Nodes are comments and initial thread posts, edges form the discussion structure and signify to which comment or post a comment has been made to.
# S3 method for activity.reddit 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 "reddit" class names.
"datasource"
"reddit"
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 reddit activity network graph activityNetwork <- redditData %>% Create("activity") # network # activityNetwork$nodes # activityNetwork$edges }
Run the code above in your browser using DataLab