DataSelect: Format and summarize a clean data set for analysis

Description Usage Arguments Details Value Author(s) References

View source: R/main.R

Description

DataSelect will combine observation, design transect, and stratification layers into a summary list for analysis

Usage

1
2
3
4
5
6
7
DataSelect(
  area,
  data.path = NA,
  strata.path = NA,
  transect.path = NA,
  threshold = 0.5
)

Arguments

area

The area code for dedicated MBM Alaska region surveys. Acceptable values include:

  • YKD - Yukon Kuskokwim Delta, ducks

  • YKDV - Yukon Kuskokwim Delta, 2018 visibility study

  • YKG - Yukon Kuskokwim Delta, geese

  • KIG - Kigigak Island

  • ACP - Arctic Coastal Plain

  • CRD - Copper River Delta

  • WBPHS - The North American Waterfowl Breeding Population Habitat Survey

  • BLSC - 2018 Black Scoter Survey

data.path

The location of the QA/QC checked data file

strata.path

The location of the analysis stratification .shp file

transect.path

The location of the transect design .shp file

threshold

The distance in kilometers from a design file where observations are no longer counted. Defaults to 0.5 km.

Details

DataSelect reads in a clean data file (passed through GreenLight function) and pulls all observations with code==1. All observations coded as open 1 are then changed to single 1. The transect layer is then placed on the stratification and trimmed and renumbered from navigational numbers to analysis numbering. Species codes that need specific project treatments will be changed. Counts are adjusted for different indices at the row level. The resulting list object is the primary currency for design-based ratio estimator analysis.

Value

List object with 4 elements:

  1. obs The original data file with corrected transect and stratification information

  2. flight The flown transects for the observer with corrected numbering

  3. design The split design information

  4. strata The spatial polygon summary for the stratification layer

Author(s)

Charles Frost, charles_frost@fws.gov

References

https://github.com/cfrost3/AKaerial


cfrost3/AKaerial documentation built on April 9, 2020, 12:50 a.m.