Create.activity.web {vosonSML} | R Documentation |
Create web activity network
Description
Creates a web page activity network from pages. Nodes are web pages.
Usage
## S3 method for class 'activity.web'
Create(
datasource,
type,
lcase = TRUE,
...,
writeToFile = FALSE,
verbose = TRUE
)
Arguments
datasource |
Collected social media data with |
type |
Character string. Type of network to be created, set to |
lcase |
Logical. Convert urls and page names to lowercase. |
... |
Additional parameters passed to function. Not used in this method. |
writeToFile |
Logical. Write data to file. Default is |
verbose |
Logical. Output additional information. Default is |
Value
Network as a named list of two dataframes containing $nodes
and $edges
.
Examples
## Not run:
# create a web activity network graph
net_activity <- data_collect |> Create("activity")
# network
# net_activity$nodes
# net_activity$edges
## End(Not run)
[Package vosonSML version 0.35.1 Index]