readExchange {DATRAS}R Documentation

Read exchange data into R.

Description

Unpack and read raw exchange zipfile(s).

Usage

  readExchange(zipfile, strict = TRUE)

Arguments

zipfile

File(s) to read.

strict

if TRUE, missing haul ids in age data should be unqiuely matched when filled in, if FALSE a random match will be assigned.

Details

The raw exchange files from ICES are zipfiles (without zip extension). This function unzips the file to a temporary directory and then reads and converts the resulting text file. If multiple filenames are supplied, all files are read and combined to a single object.

Value

DATRASraw object.


[Package DATRAS version 1.0 Index]