View source: R/limpiar_inspect.R
limpiar_inspect | R Documentation |
Produces a viewable data frame with posts matching a regular expression and their url. Useful for investigating suspected spam posts, or other patterns of interest. Set the name of the title to avoid new frames overwriting old ones.
limpiar_inspect(
data,
pattern,
text_var = mention_content,
url_var = mention_url,
title = "inspect"
)
data |
Data frame or tibble object |
pattern |
Pattern you wish to inspect e.g. "link bio" |
text_var |
Name of the text variable/character vector |
url_var |
Name of the data frame's URL-column |
title |
Name of the viewable pane |
df <- data.frame(
text_variable = rbind("check me out", "don't look at me"),
text_url = rbind("www.twitter.com", "www.facebook.com"))
limpiar_inspect(df, "check", text_var = text_variable, url_var = text_url)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.