Performs basic QC of a logical column showing occurrence.
qc_taxa_values_logical(data, col_vals = NULL)A data frame with col_vals values, occurrence (n), and valid (TRUE/FALSE). Missing values (TRUE, FALSE, or NA) are appended.
Returns a data frame of the values from the input with counts (column = n) by column.
# Exclude
qc_taxa_values_logical(data_benthos_MBSS, "EXCLUDE")
#> # A tibble: 3 × 3
#> EXCLUDE n valid
#> <lgl> <int> <lgl>
#> 1 FALSE 4772 TRUE
#> 2 TRUE 294 TRUE
#> 3 NA 0 TRUE
# NonTarget
qc_taxa_values_logical(data_benthos_MBSS, "NONTARGET")
#> # A tibble: 3 × 3
#> NONTARGET n valid
#> <lgl> <int> <lgl>
#> 1 FALSE 5066 TRUE
#> 2 TRUE 0 TRUE
#> 3 NA 0 TRUE