Skip to contents

The whole of preprocessing for a single form version, as a pure function so it can be exercised without cloud storage.

Usage

reshape_landings(raw, version, labels)

Arguments

raw

A raw landings table as written by ingest_landings().

version

Form version, "v2" or "v3".

labels

Output of survey_labels().

Value

A tibble, one row per (submission, catch, length bin).