importOABFiles: Import the SIRENO on board reports from ICES project.

View source: R/importOABFiles.R

importOABFilesR Documentation

Import the SIRENO on board reports from ICES project.

Description

This function import the on board report files of ICES project from SIRENO: hauls, trips, catches, lengths, litter and accidental files.

Usage

importOABFiles(
  trips,
  hauls,
  catches,
  lengths,
  litter,
  accidentals,
  export = FALSE,
  path = getwd()
)

Arguments

trips

vector with the names of the haul files.

hauls

vector with the names of the trip files.

catches

vector with the names of the catch file names.

lengths

vector with the names of the length file names.

litter

vector with the names of the litter file names.

accidentals

vector with the names of the accidental file names.

export

to export reports data frame in csv file. False by default.

path

path of the files. The working directory by default.

Value

Return a list with 6 data frames.

Note

The SIRENO catches report must be generated with the option 'by category'. The SIRENO hauls report must be generated with the option 'only hauls'. The SIRENO Lengths report must be generated by categories.


Eucrow/sapmuebase documentation built on April 17, 2024, 10:29 a.m.