limpiar_retweets: Clean retweets from the text variable

View source: R/limpiar_retweets.R

limpiar_retweetsR Documentation

Clean retweets from the text variable

Description

Removes all posts with the 'rt' or 'RT' tag. Particularly effective when used in conjunction with ParseR & SegmentR visualisations.

Usage

limpiar_retweets(df, text_var = mention_content)

Arguments

df

Name of the Data Frame or Tibble Object

text_var

Name of the text variable/character vector

Examples

df <- data.frame(text_variable = cbind(c("rt <3", "RT <3", "original tweet")))
limpiar_retweets(df, text_variable)

limpiar_examples

limpiar_examples %>% limpiar_retweets()

jpcompartir/LimpiaR documentation built on April 6, 2024, 5:22 a.m.