stock_props: Proportion of stocks relative to reference points

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/clean_raw_data.R

Description

stock_props returns a list of the proportion of stocks relative to reference points for fish categories in ecoregions.

Usage

1
2
3
stock_props(active_year = active_year, ecoregion = ecoregion,
  calculate_status = calculate_status, fisheries_guild = fisheries_guild,
  return_clean_sag = FALSE)

Arguments

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

return_clean_sag

logical to return objects from clean_sag()

Value

returns a list with the data frame stock_props of the proportion of stocks relative to reference points for all ecoregions. When return_clean_sag = TRUE, sag_complete_summary and stock_list_frmt are also returned from clean_sag.

Note

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.

Author(s)

Scott Large

See Also

Used in ices_stock_props and ges_stock_props to evaluate stocks relative to ICES and GES reference points. Input data: SAG summary table and reference points come from clean_sag. frmt_summary_table evaluates status relative to reference points and formats the table for .html.

Examples

1
2
3
4
## Not run: 
stock_props(2016)

## End(Not run)

ices-tools-prod/fisheryO documentation built on May 19, 2019, 8:22 a.m.