This function update/create the following metadata of an existing GeoLocator Data Package based on the data contained within the package.
update_gldp_temporal(): Setspkg$temporalwith the date range of thedatetimevalues from themeasurementsresource, if available.update_gldp_spatial(): Setspkg$spatialto the GeoJSON bounding box of all locations found in observation, paths and pressurepaths.update_gldp_taxonomic(): Setspkg$taxonomicto the uniquetags$scientific_namefound in the observations.update_gldp_number_tags():update_gldp_bibliographic_citation(): Setspkg$bibliographicCitationto the formattedutils::bibentry()of the current package.update_gldp_reference_location(): Sets thepkg$reference_locationfield to the median latitude and longitude values from theobservationsresource, if available.update_gldp_metadata: Re-arrange the order of the properties according to the order of the schema
update_gldp performs all of the functions mentioned above.
Usage
update_gldp(pkg)
update_gldp_temporal(pkg)
update_gldp_spatial(pkg)
update_gldp_taxonomic(pkg)
update_gldp_number_tags(pkg)
update_gldp_bibliographic_citation(pkg, ...)
update_gldp_reference_location(pkg)
update_gldp_metadata(pkg)Arguments
- pkg
A GeoLocator Data Package object
- ...
overwrite parameters for
utils::bibentry()
