pkgdown/analytics.html Skip to contents

Convert a list of GeoPressureR parameter objects into a minimal observations tibble following the GeoLocator Data Package structure.

One equipment row and one retrieval row are generated per parameter object. When available, crop dates give the observation dates: data start at the midnight after the equipment day, so the equipment date is the day before crop_start, and data end at the midnight starting the retrieval day, so the retrieval date is crop_end. Both are read as dates only. Known stationary locations are used to populate the first and last locations.

Usage

params_to_observations(params)

Arguments

params

A list of GeoPressureR parameter objects. These parameters should have been generated during the GeoPressure workflow. See GeoPressureR::param_create() for more information.

Value

A tibble::tibble() with one equipment and one retrieval observation per parameter object.

See also

params_to_tags() and tags_to_measurements() for related conversions from GeoPressureR objects to GeoLocator-DP resources.