openclose: Check for out-of-season harvest

View source: R/openclose.R

opencloseR Documentation

Check for out-of-season harvest

Description

The openclose function checks if harvest dates fall outside of a state's and species's season in the daily data.

Usage

openclose(data, ref_data, state = NA, 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"

summary

Defaults to FALSE

  • TRUE - returns a table summarized by state and species group to report the type and count of out-of-season 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.