Adds the normalised, dashboard-facing effort metrics (`avg_fidelity`,
`constancy`, `avg_hours_per_day`, `avg_visits_per_day`, `hours_per_trip`) to
an H3 effort table. Shared by the all-fleet and per-gear/country exports in
[export_pds_spatial()] so both use identical formulas.
Usage
add_cell_effort_metrics(df, n_total_days)
Arguments
- df
A data frame with the raw effort columns `fishing_hours`,
`unique_trips`, `n_active_days`, `avg_fidelity_sum`, and
`n_trips_for_fidelity`.
- n_total_days
Numeric. Length of the study period in days, used as the
denominator for `constancy`.
Value
`df` with the five metric columns appended.