Creates a mastodon actor network from posts. Mastodon users who have posted are actor nodes. The created network is directed with edges representing replies.
# S3 method for actor.mastodon
Create(
datasource,
type,
subtype = NULL,
inclMentions = TRUE,
verbose = FALSE,
...
)
Collected social media data with "datasource"
and "mastodon"
class names.
Character string. Type of network to be created, set to "actor"
.
Character string. Subtype of actor network to be created. Can be set to "server"
. Default is
NULL
.
Logical. Create edges for users mentioned or tagged in posts. Default is TRUE
.
Logical. Output additional information about the network creation. Default is FALSE
.
Additional parameters passed to function. Not used in this method.
Network as a named list of two dataframes containing $nodes
and $edges
.