ropensci / CoordinateCleaner

Automated flagging of common spatial and temporal errors in biological and palaeontological collection data, for the use in conservation, ecology and palaeontology.
https://docs.ropensci.org/CoordinateCleaner/
79 stars 21 forks source link

All records flagged by cd_round #103

Open marineReg opened 2 weeks ago

marineReg commented 2 weeks ago

Hi, I used the function CoordinateCleaner::cd_roundon my dataset but all records were flagged. I tried to explore the function's code to understand why, but I don't know how to test the functions .CalcACT() and .OutDetect() (sorry, I don't have much experience in R). I attached my GBIF dataset, and here is the code I used: data.csv

  data <- read.csv("C:/Downloads/data.csv")
  ## unique(data$countryCode)
  test <- CoordinateCleaner::cd_round(x = data, lon = "decimalLongitude", lat = "decimalLatitude", ds = "species", graphs = FALSE)
  ## dim(test)

Any help to understand why all the records were flagged would be greatly appreciated. Thanks