catch_location: Match catch species with fishing coordinates and bathymetry

Description Usage Arguments Value

View source: R/catch_location.R

Description

Match catch species with fishing coordinates and bathymetry

Usage

1
catch_location(dffish, dftracker, depthraster)

Arguments

dffish

ifish postgresQL data frame containing fish species, length data, and boat or landing information.

dftracker

ifish postgresQL data frame containing tracker information, including latitude, longitude, and date-time.

depthraster

bathymetry raster file

Value

data frame that combines catch data from CODRS photographs and fishing coordinates from Spot Trace. Fishing ground was matched with photographs based on first_codrs_photo_date and date of fishing coordinates. Fishing trips with no corresponding fishing coordinates are grouped by boat name and assigned its mean latitude and mean longitude.


ellewibisono/ifish documentation built on June 25, 2020, 12:06 a.m.