Learn R Programming

twitterreport (version 0.15.11)

tw_extract: Extract info from tweets

Description

Extract info from tweets

Usage

tw_extract(txt, ...)
"tw_extract"(txt, ...)
"tw_extract"(txt, obj = c("email", "mention", "hashtag", "url"), normalize = TRUE, ...)

Arguments

txt
Object to be passed to the method
...
Further arguments to be passed to the method
obj
List of objects to extract
normalize
bool whether or not to normalize emails, hashtags and mentions (to lower)

Value

List

Methods (by class)

See Also

Other text processors: tw_get_tw_account, tw_words

Examples

Run this code
 
## Not run: 
# head(tw_extract(tweets$text))
# ## End(Not run)

Run the code above in your browser using DataLab