CamtrapR

118 views
Skip to first unread message

Jen H.

unread,
Feb 9, 2018, 5:27:22 PM2/9/18
to Camelot Project
Dear Team,

first - thanks for all the great work,

we have started to use camelot recently and now want to implement the recordTable function into camtrapR.

Has there been an update, or does anybody have experience in this?

I do not have the original pics on my mac, but I have all the exported csv. files from Camelot. CamtrapR seems to want the original directory and analyse the metadata. I need the variable recordTable, which i cannot seem to build out of the csv. what is the problem?


Thank you, Jennifer

Heidi Hendry

unread,
Feb 9, 2018, 9:07:50 PM2/9/18
to Jen H., Camelot Project
You _should_ just need the CSV files.
But... It's possible the camtrapR team have made changes. So I'll give it a try this weekend and get back to you on it.
Heidi

--
You received this message because you are subscribed to the Google Groups "Camelot Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to camelot-project+unsubscribe@googlegroups.com.
To post to this group, send email to camelot-project@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/camelot-project/94639dd3-8f7f-4ee4-b31a-cedf44c4c70d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Heidi Hendry

unread,
Feb 11, 2018, 5:25:55 AM2/11/18
to Camelot Project

Hi Jen,
Can I confirm that you extracted BOTH camtrapR reports out of Camelot?
You need two.

Camera Trap Export
Record Table

In R:
Assuming that you have both of those file you need to load the CSVs into R as dataframes.
camtraps = read.csv("camera-traps_yyyy-mm-dd_xxxx.csv") #where camera-traps_yyyy-mm-dd_xxxx.csv is the Camera Trap Export report
recordtable = read.csv("record-table_yyyy-mm-dd_xxxx.csv") #where record-table_yyyy-mm-dd_xxxx.csv is the Record Table report

eg:
camtraps=read.csv("e:/ffivn/Camelot reports/Feb2018/camera-traps_2018-02-11_1703.csv")


Based on Vignette 4 of camtrapR, then running this R command:
Mapstest1 <- detectionMaps(CTtable     = camtraps,
                          recordTable  = recordtable,
                          Xcol         = "gps_x",  # Note this is changed from utm_x
                          Ycol         = "gps_y", # Note this is changed from utm_y
                          stationCol   = "Station",
                          speciesCol   = "Species",
                          printLabels  = TRUE,
                          richnessPlot = TRUE,    # by setting this argument TRUE
                          speciesPlots = FALSE,

                          )

Gives the Species Richness plot.
I ran it successfully, so my guess is that you are missing the Record Table report from Camelot.

Hope that helps
Heidi

Reply all
Reply to author
Forward
0 new messages