Skip to content
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

recordTable: n_images wrong when duplicate records exist and removeDuplicateRecords = FALSE #2

Open
jniedballa opened this issue Dec 20, 2019 · 0 comments

Comments

@jniedballa
Copy link
Owner

jniedballa commented Dec 20, 2019

n_images can be >1 for duplicate records when
minDeltaTime = 0
removeDuplicateRecords = FALSE

(because exactly same time)

wd_images_ID <- system.file("pictures/sample_images", package = "camtrapR")
rec_table0 <- recordTable(inDir               = wd_images_ID,
                          IDfrom                 = "directory",
                          minDeltaTime           = 0, 
                          removeDuplicateRecords = FALSE)

#  these should be equal
nrow(rec_table0)   
sum(rec_table0$n_images)  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant