AdjustCounts: Create index columns based on Num and Obs_Type

View source: R/main.R

AdjustCountsR Documentation

Create index columns based on Num and Obs_Type

Description

AdjustCounts will create new columns for 5 indices (itotal, ibb, total, sing1pair2, and flock) and compute the values based on Num and Obs_Type

Usage

AdjustCounts(full.data)

Arguments

full.data

A clean (greenlight) file containing observation history

Details

AdjustCounts will take a new observation file and augment the Num category to create what a particular observation means to an index. Currently there are 5 indices that are created:

  1. itotal - Indicated total. Singles doubled, pairs doubled, opens added, flkdrake 1-4 doubled, flkdrake 5+ added.

  2. ibb - Indicated breeding birds. Singles doubled, pairs doubled, opens removed, flkdrake 1-4 doubled, flkdrake 5+ removed.

  3. total - Total birds. Singles added, pairs doubled, opens added, flkdrake added.

  4. sing1pair2 - Singles and pairs. Singles added, pairs doubled, opens removed, flkdrake 1-4 added.

  5. flock - Flocks. Singles removed, pairs removed, opens added, flkdrake 5+ added.

Value

data frame of original data and 5 new index columns

Author(s)

Charles Frost, charles_frost@fws.gov

References

https://github.com/USFWS/AKaerial


USFWS/AKaerial documentation built on April 3, 2025, 4:06 p.m.