convertToErsData: Convert logbook data

View source: R/io.R

convertToErsDataR Documentation

Convert logbook data

Description

Convert LstLogbookData to the format provided by readErsFile. Not all records can be filled, and some are left blank.

LstLogbookData contains records for fishing date, but not exact time, which is required for conversion of time information. In order to set start time of fishing operations, the a time of day need to be provided via the parameter 'timestring' UTC times are assumed.

Usage

convertToErsData(LstLogbookData, timestring = "12:00:00")

Arguments

LstLogbookData

LstLogbookData to be converted

timestring

string representing the time of day (UTC) to assume for fishing operations. Format: %H:%M:%S.

Value

data.table formatted as return from readErsFile.


StoXProject/RstoxFDA documentation built on Dec. 17, 2024, 10:58 a.m.