readMetierTable: Read metier table

View source: R/metierAnnotation.R

readMetierTableR Documentation

Read metier table

Description

Reads a table of metier definitions.

Usage

readMetierTable(filename, encoding = "UTF8")

Arguments

filename

character() path to file that contains metier definitions. See details for format.

encoding

The character encoding of the file identified by 'filename'

Details

The file identified by 'filename' must be a tab-separated file, and must provided headers which must match column names in MetierTable

gearnotation: The file format allows a shorthand notation for metiers that are defined the same way for different unmeshed gearcodes or targets. These may be written on one line, with the different gear codes separated by commas or different targets separated by commas.

Optional columns may be omitted. They will be interpreted as NA. Comments may be provided on lines with a leading '#'. Logical values ('meshedGear' and 'meshedSelectivityDevice') should be encoded with 'T' for true and 'F' for false.

Value

MetierTable containing metier definitions.


StoXProject/RstoxFDA documentation built on Nov. 12, 2024, 3:42 a.m.