x <- data.frame(species = letters[1:10],
decimalLongitude = sample(x = 0:10, size = 100, replace = TRUE),
decimalLatitude = sample(x = 0:10, size = 100, replace = TRUE),
collector = "Bonpl",
collector.number = c(1001, 354),
collection = rep(c("K", "WAG","FR", "P", "S"), 20))
cc_dupl(x, value = "flagged")
cc_dupl(x, additions = c("collector", "collector.number"))
Run the code above in your browser using DataLab