fix_fish_cover: Fix Fish Cover Columns

View source: R/fix_fish_cover.R

fix_fish_coverR Documentation

Fix Fish Cover Columns

Description

Fixes typical issues identified in the fish cover columns of cu_df including re-scaling estimates entered as proportions into percentages and re-scaling any estimates that sum to 90 (likely due to a math error in the field) instead to 100. Any remaining issues (e.g., values sum outside the "expected" 100 - 130 or estimates are a combination of proportions and percentages) should be identified by the qc_cu() function.

Usage

fix_fish_cover(
  cu_df = NULL,
  cover_cols = c("Overhanging Cover", "Aquatic Vegetation", "Woody Debris Cover",
    "Artificial Cover", "Total No Cover")
)

Arguments

cu_df

data.frame of ⁠otg_type =⁠ "CU_1.csv" data that should contain the cover_cols to be fixed.

cover_cols

character vector of fish cover column names

Value

a tibble with some fish cover estimates resolved

Author(s)

Mike Ackerman and Kevin See


mackerman44/DASH documentation built on Sept. 5, 2024, 8:14 a.m.