Skip to content

Commit

Permalink
edited landingsUS vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
andybeet committed Feb 21, 2025
1 parent b60dfb8 commit 9b065ec
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion vignettes/landingsUs.Rmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: "landingsUs"
title: "Pull US landings data from STOCKEFF"
output: rmarkdown::html_vignette
vignette: >
%\VignetteIndexEntry{landingsUs}
Expand All @@ -17,3 +17,13 @@ knitr::opts_chunk$set(
```{r setup}
library(comlandr)
```

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 either `SM` (<= 3 inches) or `LG` (> 3 inches) depending on whether a trip reported a mesh size

* Depending on `useLanded` argument meat weight or live weight is used for shellfish species (NESPP3 codes for shellfish are 743:800). Use `get_species()` or `get_species_itis()` to associate common or scientific names to these shellfish codes

* Fish parts are removed. For a list of removed fish part codes, see vignette("fishPartsRemoved")

* All weight is converted from lbs to metric tons

0 comments on commit 9b065ec

Please sign in to comment.