parseInterCatch: Parses InterCatch

Description Usage Arguments Details Value

View source: R/icesParsing.R

Description

Parses the InterCatch exchange format v 1.0 for Commercial Catch and Sample Data.

Usage

1
parseInterCatch(file, encoding = "UTF-8")

Arguments

file

path to file containing intercatch formatted data

encoding

encoding of 'file'

Details

The InterCatch exchange format is a jagged comma-separated format, where the number of fields on a line is determined by a record-type identifier in position 1. Three record types are defined, "HI" (header information), "SI" (species information), and "SD" (species data). The format it specified on https://ices.dk/data/Documents/Intercatch/IC-ExchangeFormat1-0.pdf.

Value

named list with three members:

HI

data.table with HI records

SI

data.table with SI records

SD

data.table with SD records


RstoxData documentation built on July 17, 2021, 5:08 p.m.