R/getLatestStockAdviceList.R

Defines functions getLatestStockAdviceList

Documented in getLatestStockAdviceList

#' Get List of Most Recent Advice
#'
#' Get a list of the most recent advice for all fish stocks.
#'
#'
#' @return A data frame.
#'
#' @seealso
#' \code{\link{getSummaryTable}} gets a summary table of historical stock size.
#'
#' \code{\link{getFishStockReferencePoints}} gets biological reference points.
#'
#' \code{\link{icesSAG-package}} gives an overview of the package.
#'
#' @author Colin Millar, Scott Large, and Arni Magnusson.
#'
#' @examples
#' \dontrun{
#' stocks <- getLatestStockAdviceList()
#'}
#' @export

getLatestStockAdviceList <- function() {
  # call webservice
  out <- sag_webservice("getLatestStockAdviceList")

  # parse output
  sag_parse(x = out, type = "table")
}

Try the icesSAG package in your browser

Any scripts or data that you put into this service are public.

icesSAG documentation built on May 31, 2023, 6:46 p.m.