Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codforbid

The goal of codforbid is to automate the Atlantic Cod discard calculation for Georges Bank (described in Gavaris et al. 2007) as much as possible, and to make it reproducible by replacing the combination of Access, Excel, and APL applications previously used.

Installation

You can install the development version of codforbid from GitHub with:

# install.packages("devtools")
devtools::install_github("CMClark1/codforbid")

Example

Use marfispull and isdbpull functions:

library(codforbid)
marfis <- marfispull(year=2023)
isdb <- isdbpull(year=2023)

Use the DO_RATIOS function to calculate the landings multiplier for a given dataset:

library(codforbid)
COD=runif(4)
HAD=runif(4)
OBS=c("N","N","Y","Y")
df<-data.frame(COD,HAD,OBS)
example1 <- DO_RATIOS(df)

About

Georges Bank cod discard calculation

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages