
Update derived properties of a GeoLocator Data Package
Source:R/deprecations.R, R/update_gldp.R
update_gldp.RdUpdates and stores the following derived package properties:
update_gldp_temporal(): date range frommeasurements$datetime.update_gldp_taxonomic(): species vector fromtags, optionally filtered to tags present inmeasurements.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 computingbibliographicCitation.
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.