Learn R Programming

rtweet (version 2.0.0)

clean_tweets: Clean text of tweets

Description

Removes from the text, users mentions, hashtags, urls and media. Some urls or other text might remain if it is not recognized as an entity by the API. [Deprecated]

Usage

clean_tweets(x, clean = c("users", "hashtags", "urls", "media"))

Value

A vector with the text without the entities selected

Arguments

x

Tweets

clean

Type of elements to be removed.

See Also

rtweet-deprecated