Skip to contents

Re-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.

Usage

rollup_h3_resolution(aggregated_df, target_res)

Arguments

aggregated_df

A data frame with columns `h3_index` and `fishing_pings`, as returned by [aggregate_h3_effort()].

target_res

Integer. The target H3 resolution. Must be lower (coarser) than the resolution used to create `aggregated_df`.

Value

A data frame with columns `parent_h3_index` and `total_fishing_pings`.

See also

[assign_h3_indices()], [aggregate_h3_effort()]