Transform Camtrap DP metadata to EMLSource:
write_eml( package, directory = ".", title = package$title, description = package$description, creators = NULL, keywords = c("camera traps") )
A Camtrap DP, as read by
Path to local directory to write file to. If
NULL, then the EML object is returned instead, which can be useful for extended/adapting the EML before writing with
Dataset description. Will be added after an automatically generated paragraph. Multiple paragraphs can be provided as a character vector.
package$contributorswill be added as creators, in the order as listed.
c("Emma Cartuyvels", "Jim Casaer", "...", "Peter Desmet"), then Emma Cartuyvels, Jim Casaer and Peter Desmet will be set as first, second and last creators respectively, on the condition that their name (
title) is present in
package$contributors. All other contributors will be inserted at
"...", sorted on their last name.
Metadata is derived from what is provided in
package and in the function
The following properties are set:
title: Title as provided in
description: Description as provided in
package$description. The description is preceded by an automatically generated paragraph describing from which project and platform the dataset is derived, and to which extend coordinates are rounded (
license: License with scope
dataas provided in
creators: Contributors (all roles) as provided in
package$contributors, filtered/reordered based on
contact: First creator.
metadata provider: First creator.
keywords: Keywords as provided in
associated parties: Organizations as provided in
geographic coverage: Bounding box as provided in
taxonomic coverage: Species (no other ranks) as provided in
temporal coverage: Date range as provided in
project data: Title, acronym as identifier, description, and sampling design as provided in
package$project. The first creator is set as project personnel.
alternative identifier: Identifier as provided in
package$id. If this is a DOI, no new DOI will be created when publishing to GBIF.
external link: URL of the project as provided in
To be set manually in the GBIF IPT: type, subtype, update frequency and publishing organization.
Not set: sampling methods and citations.
Not applicable: collection data.