combineCalCOM: Combine CalCOM and PacFIN data

Description Usage Arguments Details Value Author(s)

Description

combineCalCOM adds required PacFIN columns to CalCOM data, initializing them to meaningful values as appropriate, translating from the CalCOM values when they exist in a different format.

Usage

1
combineCalCOM(Pdata, CalCOM)

Arguments

Pdata

a PacFIN dataset

CalCOM

a CalCOM dataset

Details

Workflow

Intended to be run before cleanPacFIN.

Date formats and genders are translated to PacFIN format, PSMFC_AREAs are derived from CalCOM "PORT"s.

Other data that aren't reported in CalCOM datasets (e.g., SAMPLE_TYPE and SAMPLE_METHOD) are initialized so that the CalCOM data aren't rejected by cleanPacFIN.

Value

Returns a combined dataset in PacFIN format.

Author(s)

Melissa Haltuch, Andi Stephens


nwfsc-assess/PacFIN.Utilities documentation built on Jan. 3, 2020, 10:28 p.m.