R/TrimUrls.R

Defines functions TrimUrls

TrimUrls <-
function(x) {
  # remove urls in a tweet

  str_replace_all(x, 'http[^[:blank:]]+', '')
}

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.