Uses univariate techniques (see univOutl::LocScaleB) to identify outliers in the number of individuals recorded per (gear, taxon) group, and blanks the weight and nutrients derived from an outlying count.
Arguments
- landings
The long catch table from
validate_landing_regularity(), carryingalert_number.- k_ind
Extension of bounds for the number of individuals
Value
A list with alerts (one row per submission), catch (the long
table with outlying counts and their weights blanked) and locations (per
submission with alert 11, a nested alert_catches table: the catch's
number in the form, code, species and the count recorded).
Details
Grouping is on the resolved gear label rather than the raw gear code; the
two are one-to-one over all nine codes the live forms use, so the partition
is identical.
Examples
if (FALSE) { # \dontrun{
conf <- read_config()
landings <- get_weighted_landings(conf)
validate_catch_params(validate_landing_regularity(landings)$regular_landings)
} # }
