Effort is measured as Days at Sea at the trip level

get_effort_landings(fleetData, ports, combine, speciesCodes)

Arguments

fleetData

data frame. Data which contains the effort by box, and fleet data. Make sure you understand the units of the landings

ports

vector, list of ports, by PORTID for which effort is requred

Value

data frame of port effort aggregated by year, box

Examples

if (FALSE) {
fleetData <- readRDS(here::here("data/NEGroundfishDataCAMS.rds"))
get_effort(fleetData,
           ports=c(220101, 320201, 240207, 240115, 240301, 240403, 420209, 350635, 320901, 240813, 240601),
           combine = data.frame(main = c(320201, 240115, 240301), associated = c(320901,240813, 240601) ))
}