Transforms a GeoLocator Data Package (GLDP)
to Ecological Metadata Language (EML).
The resulting EML file can be uploaded to an IPT for
publication to GBIF and/or OBIS. A corresponding Darwin Core Archive can be created
with gldp_to_dwc().
Arguments
- pkg
A GeoLocator Data Package object.
- directory
Path to local directory to write files to. If
NULL, nothing is written and the EML list is only returned, which can be useful for adapting it before writing withEML::write_eml().
Value
eml.xml file written to disk, unless directory is NULL.
Invisibly, the EML document as a list, as accepted by EML::write_eml().
Transformation details
Metadata are derived from the GeoLocator Data Package and transformed to EML. The following properties are set:
title: Package title.abstract: Package description.pubDate: Publication year extracted from publication/creation date.creator: Contributors with roles"ProjectLeader","Researcher", or"DataCurator", or without any role. When no contributor qualifies, all contributors are creators.contact: Contributors with role"ContactPerson", or else the first creator.associatedParty: Other contributors, including those with role"RightsHolder".intellectualRights: License information.keywords: Package keywords.packageId: Package identifier. If no ID is provided, a UUID is generated. As a result, no new DOI will be created when publishing to GBIF if the package ID contains a DOI.system:"https://doi.org"when the package ID is a DOI (bare or as adoi.orgURL),"uuid"otherwise.
Coverage information:
temporalCoverage: Date range from package temporal coverage (if available), derived from measurement timestamps.geographicCoverage: Bounding box of the packagespatialcoverage, when the package already carries one. It is not computed from the package data.taxonomicCoverage: Species list from package taxonomic coverage (if available), derived from unique scientific names in tags.
Methods:
methodStep: Generic description indicating data were processed using the GeoLocator Data Package standard.
The following EML properties are not set:
typesubtypeupdate frequencypublishing organizationproject datacitationscollection data
See also
gldp_to_dwc() to create the corresponding Darwin Core files.
