pkgdown/analytics.html

Skip to contents

Updates and stores the following derived package properties:

  • update_gldp_temporal(): date range from measurements$datetime.

  • update_gldp_taxonomic(): species vector from tags, optionally filtered to tags present in measurements.

  • update_gldp_number_tags(): counts by resource and sensor.

  • update_gldp_bibliographic_citation(): formatted citation from package metadata.

  • update_gldp_order_resources(): reorder resources following schema order.

update_gldp() runs all functions above.

Usage

update_gldp_metadata(pkg)

update_gldp_spatial(pkg)

update_gldp_reference_location(pkg)

update_gldp(pkg, ...)

update_gldp_order_resources(pkg)

update_gldp_temporal(pkg)

update_gldp_taxonomic(pkg)

update_gldp_number_tags(pkg)

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