plain_tweets function

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

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

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.

plain_tweets(x)

Arguments

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

Returns

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

  • Maintainer: Lluís Revilla Sancho
  • License: MIT + file LICENSE
  • Last published: 2024-02-24