tw_extract: Extract info from tweets

Description Usage Arguments Value Methods (by class) Author(s) See Also Examples

View source: R/text_processing.R

Description

Extract info from tweets

Usage

1
2
3
4
5
6
7
8
tw_extract(txt, ...)

## S3 method for class 'tw_Class_api_timeline'
tw_extract(txt, ...)

## S3 method for class 'character'
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)

Author(s)

George G. Vega Yon

See Also

Other text processors: tw_get_tw_account, tw_words

Examples

1
2
3
4
5
 
## Not run: 
head(tw_extract(tweets$text))

## End(Not run)

gvegayon/twitterreport documentation built on May 17, 2019, 9:30 a.m.