Description Usage Arguments Value
View source: R/Twitter_networks.R
This function creates ipgraph object based on interactions (retweets, replies, quotes) in tweets file.
1 2 3 4 5 6 7 8 9 10 | create_network(
partia,
poslowie,
tweets,
whole_parliament = F,
include_retweets = T,
include_replies = T,
include_quotes = T,
only_subparty = F
)
|
partia |
Name of party (parliament club) which network will be made |
poslowie |
Dataframe with all PM's twitters and party/subparty affiliations |
tweets |
Dataframe with tweets data |
whole_parliament |
Logical indicator if function will create whole parliament network, default set to False |
include_retweets |
Logical indicator if function will include retweets from tweets file, default set to True |
include_replies |
Logical indicator if function will include replies from tweets file, default set to True |
include_quotes |
Logical indicator if function will include quotes from tweets file, default set to True |
only_subparty |
Logical indicator if partia argument is name of parliament club or party, default set to False |
A igraph object representing network
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.