Description Usage Arguments Value Note Author(s) See Also Examples
View source: R/clean_raw_data.R
frmt_summary_tbl
returns the stock summary table plain and formatted with html (e.g., glyphicons and italics)
1 2 | frmt_summary_tbl(active_year = active_year,
calculate_status = calculate_status, return_clean_sag = FALSE)
|
active_year |
numeric of the stock database version. e.g., 2016 |
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 |
return_clean_sag |
logical to return objects from clean_sag() |
data frame
Periodically, ICES adds or removes stocks from the advisory process. The function returns the stock 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 stockSummaryTable_fun
to create the "Status of stock summary relative to reference points"
table for all stocks for an ecoregion. Input data: SAG summary table and reference points come from clean_sag
.
1 | head(frmt_summary_tbl(active_year = 2016)$summary_table)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.