kaitlyngaynor / gorongosa-mesocarnivores

2 stars 0 forks source link

weird records removed #120

Open klg-2016 opened 1 year ago

klg-2016 commented 1 year ago

https://github.com/kaitlyngaynor/gorongosa-mesocarnivores/blob/08458e8ae0f94f1228dc38c2225af7df04b13c94/scripts/multi-season%20model/01-multi-season-data-prep.R#L274

this runs for the different species, but it's cutting some weird records. The warning message that pops up (as an example) is: 1: 1 records (out of 83) were removed because they were taken before day1 (if a date was specified), within the buffer period, or before occasionStartTime on the 1st day, e.g.: F09: 2016-09-09 03:31:00

^^For that example, that date/time should be included in the season

klg-2016 commented 1 year ago

I think this may have something to do with this change: In the camtrapR package, occasionStartTime (a variable) seems to have switched from detectionHistory to cameraOperation (according to https://www.rdocumentation.org/packages/camtrapR/versions/2.2.0/topics/cameraOperation and an error message that popped up). but I'm having trouble wrapping my head around exactly what.

Also this may not be the best placed issue, I'm referring to the whole three season detection history function that's cutting weird records