-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
detection_id is not unique within get_acoustic_detections() #283
Comments
@PieterjanVerhelst @jreubens @cfmuniz Would you expect get_acoustic_detections() to always return unique detection_id's? |
Do you mean unique detection ids or unique records and hence remove duplicates in the background? In case of the latter, it would be good that the function only keeps one record of the duplicates, but then we have to define the columns on which the function should identify duplicates. A first thought would be |
I mean unique detection ids, I wasn't expecting duplicates as in the screenshot above where you have the same detection id with different animal_ids and animal project codes, but with the same deploy latitude and longitude and date_time. |
Aah now I see! What is the definition of a detection ID? I find it strange that there are duplicate detection IDs, but each with a different |
I think Is this the cause here? |
ok, that makes sense. I don't think this is the cause here, because the detection |
There is a test that checks if
get_acoustic_detections()
returns unique detection_id's, this test sometimes fails (because settinglimit = TRUE
doesn't always result in the same records).To replicate:
These detections also have the same timestamp, tag_serial_code, acoustic_project_code, ...
The package is treating this as a bug, is this intentional?
The text was updated successfully, but these errors were encountered: