find_dups | R Documentation |
Filter to rows where the specified variable has at least one dulicate. Useful for identifying problematic cases when 1:1 joins come out at 1:many.
find_dups(data, var, order_by = TRUE)
data |
a data frame |
var |
a variable in that data frame |
order_by |
if TRUE, order the result by the specified variable |
mtcars |> find_dups(mpg)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.