SplitWBPHS: Combine and parse raw WBPHS data files

View source: R/SplitWBPHS.R

SplitWBPHSR Documentation

Combine and parse raw WBPHS data files

Description

SplitWBPHS will combine multiple observation files and split into annual observer files

Usage

SplitWBPHS(folder.path)

Arguments

folder.path

The directory path to the folder for input and output files.

Details

SplitWBPHS takes a folder of raw text files (generally at the transect or stratum level) and combines them into an annual data file for an observer using the naming convention: WBPHS_YYYY_RawObs_NNN.csv, where YYYY is the 4 digit year and NNN is 3 character initials. Columns must be in the following order: Year, Month, Day, Seat, Observer, Stratum, Transect, Segment, Flight_Dir, A_G_Name, Wind_Dir, Wind_Vel, Sky, Filename, Lat, Lon, Time, Delay, Species, Num, Obs_Type. It will also add the columns Behavior, Distance, Code, and Notes that aren't used in the standard WBPHS protocol, but have become the standard in Alaska Region aerial surveys.

Value

Year-Observer combinations of data in csv format to folder.path

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.