View source: R/landingsAnalyses.R
sourceLogbookColumns | R Documentation |
Fills selected columns in imputed landings from corresponding logbook records
sourceLogbookColumns(
landings,
logbooks,
tripIdCol = "tripid",
catchIdCol,
speciesColLand = "Art FAO (kode)",
speciesColLog = "FANGSTART_FAO"
)
landings |
|
logbooks |
|
tripIdCol |
character() that identifies the column in 'landings' and 'logbooks' that contain trip ids |
catchIdCol |
character() that identifies the column in 'landings' and 'logbooks' that contain catch ids |
speciesColLand |
character() that identifies the column in 'landings' that identify species landed |
speciesColLog |
character() that identifies the column in 'logbooks' that identify species caught. |
The following columns in 'landings' may be altered. All others are left untouched:
set to corresponding value in logbooks
set to NA for landings with corresponding entries in logbooks
set to corresponding value in logbooks
set to corresponding value in logbooks
set to corresponding value in logbooks
'landings' should already imputed with information about individual catches.
The columns 'tripIdCol' and 'catchIdCol' must be set on 'landings' and 'logbooks'. This may be achieved by appendTripIdLogbooks
, appendTripIdLandings
and imputeCatchesLandings
.
The function sets values for gear, area codes, and date of last catch from logbooks. Landings that does not have corresponding logbook records are left untouched
makeTripIds
, appendTripIdLandings
, appendTripIdLogbooks
, and imputeCatchesLandings
for obtaining 'landings' and 'logbooks' with trip-ids and catch-ids.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.