rb_interval_id.Rd
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)
A tibble containing variables vid (vessel id) and time
A tibble containing variables vid, id.lgs (the fishing activity id), start and end
The vessel id variable name
The name of the time variable in the ais data
The name of the start time variable in the logbooks
The name of the end time variable in the logbooks
The name of the tow id variable in the logbooks
The point tibble with additional variable id.lgs (fishing activity id).
Superseeded by just using between within a dplyr-join