# NOT RUN {
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