Description Usage Arguments Value Note Author(s) See Also Examples
View source: R/clean_raw_data.R
ices_stock_props
returns a data frame of the proportion of stocks
relative to ICES reference points for fish categories in ecoregions.
1 2 | ices_stock_props(active_year = active_year, ecoregion = ecoregion,
calculate_status = calculate_status, fisheries_guild = fisheries_guild)
|
active_year |
numeric of the stock database version (year). e.g., 2016 |
ecoregion |
vector of ecoregions to include |
calculate_status |
logical on whether to use raw SAG output to calculate stock status or to use the hard-coded values from stock summary table |
fisheries_guild |
vector of fisheries guilds to include |
returns a data frame of the proportion of stocks relative to ICES reference points for fish categories in ecoregions.
Periodically, ICES adds or removes stocks from the advisory process. The function returns
the SAG reference points and summary table for all published (in SAG) and active stocks for a given year. calculate_status = TRUE
calculates stock status
relative to published reference points. This will represent PA and SBL for ecoregions with proxy reference points. calculate_status = TRUE
takes the
raw icons from published advice. Note, before 2017 not all stocks status tables have been added to the SAG database and only few stocks had MSY proxy reference points.
Scott Large
Used in stockPie_fun
to plot proportion of stocks relative
to ICES reference points for fish categories in all ecoregions.
Input data: From stock_props
.
1 2 3 4 | ## Not run:
ices_stock_props(2016)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.