powered by
Creates a web page activity network from pages. Nodes are web pages.
# S3 method for activity.web Create(datasource, type, lcase = TRUE, verbose = TRUE, ...)
Network as a named list of two dataframes containing $nodes and $edges.
$nodes
$edges
Collected social media data with "datasource" and "web" class names.
"datasource"
"web"
Character string. Type of network to be created, set to "activity".
"activity"
Logical. Convert urls and page names to lowercase.
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 web activity network graph net_activity <- data_collect |> Create("activity") # network # net_activity$nodes # net_activity$edges }
Run the code above in your browser using DataLab