plain_tweets: Clean up character vector (tweets) to more of a plain text.

View source: R/plain_tweets.R

plain_tweetsR Documentation

Clean up character vector (tweets) to more of a plain text.

Description

Removes links, linebreaks, fancy spaces and apostrophes and convert everything to ASCII text. Deprecated to be defunct for next release as there are better text processing tools.

Usage

plain_tweets(x)

Arguments

x

The desired character vector or data frame/list with named column/element "text" to be cleaned and processed.

Value

Data reformatted with ascii encoding and normal ampersands and without URL links, line breaks, fancy spaces/tabs, fancy apostrophes,


rtweet documentation built on May 29, 2024, 7:47 a.m.