limpiar_duplicates: Clean the text variable of duplicate posts

View source: R/limpiar_duplicates.R

limpiar_duplicatesR Documentation

Clean the text variable of duplicate posts

Description

Removes duplicate posts, and posts which are deleted or protected by APIs

Usage

limpiar_duplicates(data, text_var = mention_content)

Arguments

data

Data Frame or Tibble object

text_var

Name of the text variable/character vector

Value

The Data Frame or Tibble object with duplicate posts removed from the text variable

Examples

df <- data.frame(text_variable = cbind(c(
"Deleted or protected mention", "hello", "goodbye", "goodbye")))
limpiar_duplicates(df, text_variable)

limpiar_examples


limpiar_examples %>% limpiar_duplicates()


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