overbags: Check for overbags in the daily data

View source: R/overbags.R

overbagsR Documentation

Check for overbags in the daily data

Description

The overbags function checks for retrieved values over the bag limit per state and species in the Harvest Survey daily data.

Usage

overbags(data, ref_data, state = NA, over = T, summary = F)

Arguments

data

Daily data table

ref_data

The reference data table that corresponds to the year of the daily data

state

Default is NA, but can be used to specify what state should be reported in the output. State values can be one of:

  • "Alabama", "Alaska", "Arizona", "Arkansas", "California", "Colorado", "Connecticut", "Delaware", "Florida", "Georgia", "Idaho", "Illinois", "Indiana", "Iowa", "Kansas", "Kentucky", "Louisiana", "Maine", "Maryland", "Massachusetts", "Michigan", "Minnesota", "Mississippi", "Missouri", "Montana", "Nebraska", "Nevada", "New Hampshire", "New Jersey", "New Mexico", "New York", "North Carolina", "North Dakota", "Ohio", "Oklahoma", "Oregon", "Pennsylvania", "Rhode Island", "South Carolina", "South Dakota", "Tennessee", "Texas", "Utah", "Vermont", "Virginia", "Washington", "West Virginia", "Wisconsin", "Wyoming"

over

Defaults to TRUE

  • TRUE - returns only records with retrieved values that exceed the bag limit

  • FALSE - returns a table of all values

summary

Defaults to FALSE

  • TRUE - returns a table summarized by state and species to report the max, mean, min, and count of overbag values

  • FALSE - returns a table unsummarized data

Author(s)

Abby Walter, abby_walter@fws.gov

References

https://github.com/USFWS/migbirdHS


USFWS/migbirdMBHS documentation built on Feb. 20, 2024, 4:49 a.m.