@fmendezh our team has updated the write_dwc() function that processes Camtrap DP to Darwin Core Archives. We suggest to use this new function as part of the pipeline to process incoming Camtrap DP datasets.
Changes
The function is now part of a new, more lightweight R package "camtrapdp" (over "camtraptor" originally), with only five dependencies. We plan to maintain this package long-term and submit it to CRAN.
The function uses the known R transformation tool "dplyr" over SQL/sqlite.
The function produces a meta.xml file.
The generated csv files have been renamed to align with what IPT produces for Darwin Core (but .csv, not tab-delimited `.txt):
dwc_occurrence.csv -> occurrence.csv
dwc_audubon.csv -> multimedia.csv
The package no longer down-converts an incoming Camtrap DP, meaning that more of the Camtrap DP fields are mapped to Darwin Core (i.e. the DwC result will be different)
@fmendezh our team has updated the
write_dwc()
function that processes Camtrap DP to Darwin Core Archives. We suggest to use this new function as part of the pipeline to process incoming Camtrap DP datasets.Changes
meta.xml
file..csv
, not tab-delimited `.txt):dwc_occurrence.csv
->occurrence.csv
dwc_audubon.csv
->multimedia.csv
The function documentation can be found at https://inbo.github.io/camtrapdp/reference/write_dwc.html
Calling the function
To process a Camtrap DP to a Darwin Core Archive, two functions need to be called (similar as it was in "camtraptor"):
Created on 2024-05-21 with reprex v2.1.0
Questions
license
now contains a license code likeCC0-1.0
)Once all (potential) issues are resolved, we will release a stable (minor) release of the package. Let me know if you have any questions.