Hi Jurgen,
On second thought, when I applied the function to another dataset, I encountered the following error, and I'm unsure what it's actually asking me to do:
Error in paste0(dirs_short[i], ": Removing ", length(which_na_time), " out of ", : argument "dirs_short" is missing, with no default
Here are some rows of the data format and the code chunk I used:
#library(camtrapR)
observations$DateTimeOriginal <- strptime(paste(observations$Date, observations$Time, sep = " "), format = "%d/%m/%Y %H:%M:%S", tz = "UTC")
records_filter_60min <- filterRecordTable(
recordTable = observations,
minDeltaTime = 60,
stationCol = "new_station",
deltaTimeComparedTo = "lastIndependentRecord"
)
Could you advise me on the next steps? Thanks.