pkgdown/analytics.html Skip to contents

Recomputes and stores the derived package properties:

  • resources: reordered following the schema order.

  • temporal: date range from measurements$datetime, left unchanged when the package has no measurements.

  • taxonomic: species vector from tags, restricted to tags present in measurements when the package has measurements.

  • numberTags: counts by resource and sensor.

  • bibliographicCitation: formatted citation from package metadata.

Usage

update_gldp(pkg, ...)

Arguments

pkg

A GeoLocator Data Package object.

...

Overrides passed to utils::bibentry() when computing bibliographicCitation.

Value

An updated GeoLocator Data Package object with derived properties populated.

See also

read_gldp() and read_zenodo() call this function after reading, and the resource setters such as tags() and measurements() update selected derived properties automatically.