get_SIS_info {r4ss} | R Documentation |
Gather information for the NOAA Species Information System (SIS)
Description
Processes model results contained in the list created by
SS_output()
in a format that is more convenient for submission
to SIS. Currently the results are returned invisibly as a list of two tables
and written to a CSV file from which results could be copied into SIS.
In the future some more direct link could be explored to avoid the manual
copy step.
Usage
get_SIS_info(
model,
dir = NULL,
writecsv = TRUE,
stock = "StockName",
final_year = 2019,
data_year = NULL,
sciencecenter = "NWFSC",
Mgt_Council = "NA"
)
Arguments
model |
Output from SS_output |
dir |
Directory where the file will be written |
writecsv |
Write results to a CSV file (where the name will have the
format "[stock]_2019_SIS_info.csv" where |
stock |
String to prepend id info to filename for CSV file |
final_year |
Year of assessment and reference points
(typically will be |
data_year |
Last year of of timeseries data |
sciencecenter |
Origin of assessment report |
Mgt_Council |
Council jurisdiction. Currently the only option
outside of the default is Gulf of Mexico ( |
Author(s)
Ian G. Taylor, Andi Stephens, LaTreese S. Denson
See Also
Examples
## Not run:
# directory with the model output
mydir <- file.path(path.package("r4ss"), "extdata/simple_3.30.13")
# read the model output
model <- SS_output(dir = mydir)
# run get_SIS_info:
info <- get_SIS_info(model, stock = "SimpleExample")
## End(Not run)