add_missing_fn012: Add FN012 record for missing SPC-GRPs

View source: R/populate_template.R

add_missing_fn012R Documentation

Add FN012 record for missing SPC-GRPs

Description

This function adds records to the FN012 table for PRJ_CD-SPC-GRP combinations that exist in the FN123 table (they were caught), but are not currently in the FN012 (Sampling Spec) table. This is a helper function used by populate_fn012 and is not intended by called directly by users.

Usage

add_missing_fn012(fn012, fn123)

Arguments

fn012

Dataframe containing FN012 Sampling specs and keys "PRJ_CD", "SPC", "GRP"

fn123

Dataframe containing catch count data and keys "PRJ_CD", "SPC", "GRP"

Value

dataframe

Author(s)

Adam Cottrill adam.cottrill@ontario.ca

See Also

populate_fn012


AdamCottrill/glfishr documentation built on Aug. 9, 2024, 5:47 p.m.