convert_year_of_the_stomach: Read ICES year-of-the-stomach data

View source: R/ICES_year_of_the_stomach.R

convert_year_of_the_stomachR Documentation

Read ICES year-of-the-stomach data

Description

Read ICES year-of-the-stomach data

Usage

convert_year_of_the_stomach(
  dir,
  in_file,
  NODC_latin,
  latin_prey_names = TRUE,
  write_file = FALSE,
  verbose = FALSE
)

Arguments

dir

Directory with in_file

in_file

Name or names of files with data on the ICES Year-of-the-stomach exchange format.

NODC_latin

CSV file with NODC and latin names. Default file system.file("NODC_latin.csv", package = "FishStomachs").

latin_prey_names

Add latin names on preys from NODC

write_file

Write file with data on exchange format, file name becomes "adjusted_"+in_file

verbose

Show information on processing data.

Value

stomach data on exchange format


MortenVinther/FishStomachs documentation built on Feb. 14, 2025, 7:33 a.m.