Creates a mastodon activity network from collected posts. Nodes are posts and directed edges represent the relationship of posts to one another.
Usage
# S3 method for class 'activity.mastodon'
Create(
datasource,
type,
subtype = NULL,
...,
writeToFile = FALSE,
verbose = TRUE
)Arguments
- datasource
Collected social media data with
"datasource"and"mastodon"class names.- type
Character string. Type of network to be created, set to
"activity".- subtype
Character string. Subtype of activity network to be created. Can be set to
"tag". Default isNULL.- ...
Additional parameters passed to function. Not used in this method.
- writeToFile
Logical. Write data to file. Default is
FALSE.- verbose
Logical. Output additional information. Default is
TRUE.