Hello,
I am encountering an error when I try to run Recordtable on the video files that I have tagged in Digikam.
My code below:
NHead_test <- ("H:/PhD/Camera footage/Tunnels/NorthHead/")
length(list.files(NHead_test, pattern = "AVI", recursive = TRUE))
dat <- read.csv("H:/PhD/Camera footage/Tunnels/NorthHead/NH_CamTrapR_cams_test.csv")
rec.db.species0 <- recordTable(inDir = NHead_test,
IDfrom = "metadata",
timeZone = "Australia/Brisbane",
metadataSpeciesTag = "Species1",
video = list(file_formats = c("jpg", "mp4", "avi", "mov"),
dateTimeTag = "DateTimeOriginal",
db_directory = "C:/Users/aran8255/Pictures",
db_filename = "digikam4.db"),
writecsv = TRUE
)
Error as follows:
Error: station directory H:/PhD/Camera footage/Tunnels/NorthHead//NHCS1 was not found in digiKam albums. Skipping
In case it helps, here is a screenshot of my camera info file (NH_CamTrapR_cams_test.csv)

and a screenshot of my Digikam albums:
I'm wondering whether the issue is because of the extra subfolders I have after the Station folders?
Any help would be much appreciated, thank you!
Angela