The function aim is to match an event in one tibble with an interval in an another tibble. Specifically designed to be used with ais/vms data (points) and fishing logbook records where start and end time of fishing activity is recorded.

rb_interval_id(point, interval, vid, time, start, end, id)

Arguments

point

A tibble containing variables vid (vessel id) and time

interval

A tibble containing variables vid, id.lgs (the fishing activity id), start and end

vid

The vessel id variable name

time

The name of the time variable in the ais data

start

The name of the start time variable in the logbooks

end

The name of the end time variable in the logbooks

id

The name of the tow id variable in the logbooks

Value

The point tibble with additional variable id.lgs (fishing activity id).

Details

Superseeded by just using between within a dplyr-join