
Roll Up H3 Fishing Effort to a Coarser Resolution
Source:R/aggregate-effort.R
rollup_h3_resolution.RdRe-aggregates fishing effort from a fine H3 resolution to a coarser parent resolution by mapping each cell to its containing parent hexagon and summing ping counts. Useful for multi-scale analysis without rerunning the full spatial join.
Arguments
- aggregated_df
A data frame with columns
h3_indexandfishing_pings, as returned byaggregate_h3_effort().- target_res
Integer. The target H3 resolution. Must be lower (coarser) than the resolution used to create
aggregated_df.