render_esp.Rd
This function creates an ESP report card from a template. If left empty, an example report will be created.
render_esp(
out_name = "EXAMPLE-ESP.docx",
esp_dir = getwd(),
...,
esp_data = NULL
)
Suggestions for parameters are:
num: The appendix number of the EPS
authors: The names of the authors, as a single character string
year: The year of the ESP
contributors: The names of the contributors, as a single character string
fish: The name of the fish species
region: The name of the stock area
fig_spreadsheet: The file path to the filled out figure spreadsheet (one of the template documents)
tab_spreadsheet: The file path to the filled out table spreadsheet (one of the template documents)
esp_text: The file path to the filled out text template (one of the template documents)
esp_type: The type of ESP to make. One of c("full", "partial", "report_card")
con_model_path: The path to the conceptual model. Currently only required for report card ESPs.
stock_image: The path to an image to use on the cover page. Shows the NOAA logo as a default.
bayes_path: The path to the image of Bayesian Adaptive Sampling results
Additional arguments are passed as parameters to the ESP Rmarkdown report.