importRIMFiles: Import the SIRENO at-market reports from ICES project.

View source: R/importRIMFiles.R

importRIMFilesR Documentation

Import the SIRENO at-market reports from ICES project.

Description

This function import the three files obtained from 'muestreos tallas por up' reports in SIRENO: catches file, catches in lengths file and lengths file.

Usage

importRIMFiles(
  catches,
  catches_in_lengths,
  lengths,
  by_month = FALSE,
  export = FALSE,
  path = getwd()
)

Arguments

catches

vector with the catches file names.

catches_in_lengths

vector with the catches in length file names.

lengths

vector with the lengths file names.

by_month

to filter only by one month. Numeric between 1 to 12 to select one month or FALSE for all the year. FALSE by default.

export

to export reports in csv file. False by default.

path

path of the files. The working directory by default.

Value

Return a list with 3 data frames.


Eucrow/sapmuebase documentation built on June 23, 2024, 7:21 p.m.