textfunc.textcleaner: Clean SoMe text

Description Usage Arguments Value

Description

Clean SoMe text

Usage

1
2
textfunc.textcleaner(textdata, removePunctuation = TRUE, removeURLs = TRUE,
  removeRT = FALSE, removeHashtag = FALSE, removeHandles = FALSE)

Arguments

textdata

character vector; The text you want cleaned

removePunctuation

logical; If TRUE (default) it wil remove all punctuation and symbols from text

removeURLs

logical; If TRUE (default) it wil remove all URLs from text

removeRT

logical; If TRUE it wil remove 'RT' and 'via' from text

removeHashtag

logical; If TRUE it wil remove all words begining with '#' from text

removeHandles

logical; If TRUE it wil remove all words begining with '@' from text

Value

Character string


emillykkejensen/textfunc documentation built on May 16, 2019, 5:08 a.m.