Skip to contents

Writes the csv templates that the app reads, with the Atlantic bigeye tuna example files, to a folder. The same files can be downloaded in the app's Setup step.

Usage

jabba3app_templates(
  dir = ".",
  which = c("all", "data", "life_history"),
  overwrite = FALSE
)

Arguments

dir

Folder to write to (created).

which

"all", "data" or "life_history".

overwrite

Replace existing files.

Value

The paths of the files written, invisibly.

Details

  • JABBA3_data_template.csv: blank data template, one row per record with the columns year, type (Catch or Index), series, value and se (log-scale standard error of an index value; may be blank).

  • JABBA3_example_data_bigeye.csv: Atlantic bigeye tuna (ICCAT), from the iccat dataset in JABBA3.

  • JABBA3_life_history_template.csv: blank life-history template.

  • JABBA3_life_history_example_bigeye.csv: approximate bigeye biology from the JABBA3 user guide (illustrative only).

Examples

jabba3app_templates(tempdir())