Extract the mentions - `@tags` - from a variable for a mention network with centrality measures.

extract_mentions(dataset, author_variable, text_variable)

Arguments

dataset

A tibble or data frame where each row is a separate post

author_variable

Name of the author of each post in your dataset

text_variable

Name of your text variable - in which mentions occur

Value

An object ready to be passed into `ConnectR::calculate_centrality()`