Skip to contents

Runs the full preprocessing pipeline on a QWAdata object:

  1. Adds derived cell measures (see complete_measures()).

  2. Extends the rings data frame to cover all years present in cells, with cell counts and mean CWT per ring (see complete_rings_log()).

  3. Flags incomplete, missing, and duplicate rings and initialises the exclude_issues column (see complete_flags()).

Usage

complete_QWAdata(x, meta, exclude_mode = c("either", "incomplete_only"))

Arguments

x

A QWAdata object with both $cells and $rings.

meta

A QWAimages object providing spatial_resolution and outmost_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.