Runs the full preprocessing pipeline on a QWAdata object:
Adds derived cell measures (see
complete_measures()).Extends the rings data frame to cover all years present in cells, with cell counts and mean CWT per ring (see
complete_rings_log()).Flags incomplete, missing, and duplicate rings and initialises the
exclude_issuescolumn (seecomplete_flags()).
Usage
complete_QWAdata(x, meta, exclude_mode = c("either", "incomplete_only"))Arguments
- x
A QWAdata object with both
$cellsand$rings.- meta
A QWAimages object providing
spatial_resolutionandoutmost_year, required for the incomplete-innermost and dating checks.- exclude_mode
Passed to
complete_flags():"either"(default) excludes incomplete and missing rings;"incomplete_only"excludes only incomplete rings.
Value
A QWAdata object with all derived columns and flag columns populated.