View source: R/landingsAnalyses.R
makeTripIds | R Documentation |
Extracts trip IDs from landings.
makeTripIds(
landings,
vesselIdCol = "Radiokallesignal (seddel)",
lastCatchCol = "Siste fangstdato"
)
landings |
|
vesselIdCol |
character() that identifies a column in 'landings' that contain the vessel id (e.g. radio call signal) of the landing vessel. Default compatible with |
lastCatchCol |
character() that identifies a Date column in 'landings' that contain the date of last catch for each record. Default compatible with |
data.table
with columns 'vesselId', 'time' (POSIXct with time zone as in 'landings') and 'tripId'
## Not run:
#make trip ids for landings
lssfile <- "" #set appropriately
landings <- RstoxData::readLssFile(lssfile)
tripIds <- makeTripIds(landings)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.