Spatially joins projected GPS fishing points to a reference grid and counts
the number of fishing pings per cell. Points that fall outside the grid
extent are silently dropped.
Usage
aggregate_daily_effort(points_sf, reference_grid_sf)
Arguments
- points_sf
Projected `sf` POINT object, as returned by
[prep_fishing_points()].
- reference_grid_sf
`sf` polygon grid, as returned by
[create_reference_grid()].
Value
A data frame with columns `cell_id` and `fishing_pings`.
See also
[prep_fishing_points()], [create_reference_grid()]