View source: R/Create.activity.web.R
Create.activity.web | R Documentation |
Creates a web page activity network from pages. Nodes are web pages.
## S3 method for class 'activity.web'
Create(datasource, type, lcase = TRUE, verbose = TRUE, ...)
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. |
verbose |
Logical. Output additional information about the network creation. Default is |
... |
Additional parameters passed to function. Not used in this method. |
Network as a named list of two dataframes containing $nodes
and $edges
.
## Not run:
# create a web activity network graph
net_activity <- data_collect |> Create("activity")
# network
# net_activity$nodes
# net_activity$edges
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.