convertKeyrunCatchtoMSSPM: Keyrun to MSSPM Catch Conversion

Description Usage Arguments Value Examples

View source: R/Keyrun_Catch_to_MSSPM.R

Description

Conversion of Keyrun (i.e., Atlantis) Simulated Catch Index file to MSSPM Catch csv file

Usage

1
convertKeyrunCatchtoMSSPM(inputDataFrame, startYear, outputFile)

Arguments

inputDataFrame

The Keyrun input simulated catch data frame

startYear

The year to start the conversion (earlier years will be skipped)

outputfile

The output csv data file containing the MSSPM catch formatted data. N.B. The csv file must begin with "HarvestCatch_".

Value

n/a

Examples

1
2
3
4
5
6
7
remotes::install_github("NOAA-EDAB/ms-keyrun")

inputDataFrame <- mskeyrun::simCatchIndex
startYear <- 55
outputFile <- '/home/rklasky/test/HarvestCatch_Keyrun.csv'

convertKeyrunCatchtoMSSPM(inputDataFrame,startYear,outputFile)

rklasky/rPackages documentation built on Feb. 9, 2022, 1:10 a.m.