R/TrimUsers.R

Defines functions TrimUsers

TrimUsers <-
function(x) {
  # remove users, i.e. "@user", in a tweet

  str_replace_all(x, '(@[[:alnum:]_]*)', '')
}

Try the SocialMediaLab package in your browser

Any scripts or data that you put into this service are public.

SocialMediaLab documentation built on May 29, 2017, 9:41 p.m.