Creates a bimodal network from tweets returned from the twitter search query. In this network there are two types of nodes, twitter users who have tweeted (actors) and hashtags found within their tweets. Network edges are weighted and represent hashtag usage by the actor or specifically their tweets that contain a hashtag matching the name of the node they are directed towards.
# S3 method for bimodal.twitter Create(datasource, type, removeTermsOrHashtags = NULL, verbose = FALSE, ...)
datasource | Collected social media data with |
---|---|
type | Character string. Type of network to be created, set to |
removeTermsOrHashtags | Character vector. Terms or hashtags to remove from the bimodal network. For example,
this parameter could be used to remove the search term or hashtag that was used to collect the data by removing any
nodes with matching name. Default is |
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
.