Reshape twitter data for coordination detection.
reshape_tweets(
tweets,
intent = c("retweets", "hashtags", "urls", "urls_domains")
)
a reshaped data.table
a named list of Twitter data (output of preprocess_tweets)
the desired intent for analysis.
This function takes the pre-processed Twitter data
(output of preprocess_tweets) and reshapes it
for coordination detection (detect_coordinated_groups).
You can choose the intent for reshaping the data. Use
"retweets"
to detect coordinated retweeting behaviour;
"hashtags"
for coordinated usage of hashtags;
"urls"
to detect coordinated link sharing behaviour;
"urls_domain"
to detect coordinated link sharing behaviour
at the domain level.
The output of this function is a reshaped data.table
that
can be passed to detect_coordinated_groups.