error: Duplicate station name in multi-season data formatting

22 views
Skip to first unread message

Neofelis Nebulosa

unread,
Nov 5, 2024, 1:16:42 PM11/5/24
to camtrapR
Hi Jurgen,

I have 84 camera trap stations over seven years (14 seasons) and I wanted to format my detection history for all species (multi-season, multi-species) occupancy model. I see that multiple season data can be formatted in camtrapR as I went through the vignettes. Probably for one species but I went forward. However when I try to follow the approach from the vignettes, I get an error saying duplicate camera stations since I used the same camera trap station names for all years and seasons. 

One of the users suggested creating a new column that also specifies the season giving a unique station id. I did that creating a column ST1_S1 (station 1 season 1) and so on. I used that unique station id to create the camop and it does provide a reasonable matrix with NA for seasons when the cameras were not operating.

I proceeded to creating the species record table thinking I will get the dates on the table which can also be used to create detection histories for different years and seasons later on. I did that and now when I try to get the survey report then I get the error

"Error in surveyReport(recordTable = sppRT, CTtable = camtraps, camOp = camop, : at least 1 station has more than 1 item in CTtable. Please specify 'cameraCol'

Since I only had one camera trap in one station, I don't know what this error is about. I am kind of confused about the whole multi-season thing using camtrapR. 

Let me know if you need to look at the issue at personal level. I can share my data and codes as well.

best,
yadav
Reply all
Reply to author
Forward
0 new messages