pkgdown/analytics.html

Skip to contents

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().

Usage

gldp_to_eml(pkg, directory)

Arguments

pkg

A GeoLocator Data Package object.

directory

Path to local directory to write files to.

Value

eml.xml file written to disk. Invisibly, an EML::eml object.

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" when available.

  • contact: Contributors with role "ContactPerson" as provided in contributors.

  • 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.

Coverage information:

  • temporalCoverage: Date range from package temporal coverage (if available), derived from measurement timestamps.

  • geographicCoverage: Bounding box from package spatial coverage (if available), calculated from all locations in observations, paths, and pressurepaths.

  • 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:

  • type

  • subtype

  • update frequency

  • publishing organization

  • project data

  • citations

  • collection data

See also

gldp_to_dwc() to create the corresponding Darwin Core files.