US landings by trip are pulled from STOCKEFF via
get_comland_raw_data()
and grouped by year, month, negear,
toncl2, nespp3, nespp4, area, utilcd, mesh, market_code from which
spplivlb, sppvalue, and spplndlb are summed.
Mesh category (
MESHCAT
) is then defined as eitherSM
(<= 3 inches) orLG
(> 3 inches) depending on whether a trip reported a mesh sizeDepending on the value of the argument
useLanded
, meat weight or live weight is used for shellfish species (NESPP3 codes for shellfish are 743:800). Useget_species()
orget_species_itis()
to associate common or scientific names to these shellfish codesFish parts are removed. For a list of removed fish part codes, see
vignette("fishPartsRemoved")
All weight is converted from lbs to metric tons