Create.activity.web: Create web activity network

View source: R/Create.activity.web.R

Create.activity.webR 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, verbose = TRUE, ...)

Arguments

datasource

Collected social media data with "datasource" and "web" class names.

type

Character string. Type of network to be created, set to "activity".

lcase

Logical. Convert urls and page names to lowercase.

verbose

Logical. Output additional information about the network creation. Default is TRUE.

...

Additional parameters passed to function. Not used in this method.

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)


vosonSML documentation built on Aug. 16, 2022, 5:14 p.m.