Description Usage Arguments Value
A function to either remove Handles (identified by @ symbol) or extract them (or both) from a vector. These often appear in social media data (Facebook posts, Instagram posts or tweets) and can be quite annoying. You might also want to extract them for downstream analysis of e.g. conversation dynamics.
1 | handle.handles(text.clean, extract = T, remove = T)
|
text.clean |
vector containing one or more strings (i.e. length is equal to or greater than 1) |
extract |
logical, indicating whether to extract the handles |
remove |
logical, indicating whether to remove the handles |
list where the first item is the cleaned text (handles are not removed if remove == F), the second item is a dataset of extracted handles
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.