getAKNData: getAKNData

View source: R/getAKNData.R

getAKNDataR Documentation

getAKNData

Description

Takes NETN's AKN point count survey data download and updates Visits and FieldData files for NCRNbirds package import. Also has option to import into workspace as NCRNbirds object ("NETN").

Usage

getAKNData(Dir, import = FALSE)

Arguments

Dir

The directory where the data is found. You should omit the trailing slash ("/") in the directory name.

import

Logical. If TRUE will import data as "NETN" NCRNbirds object.

Details

The following files will be saved in the folder denoted in the in argument Dir: FieldData.csv: Raw bird detection data by location and date; Visits.csv: List of unique surveys by date for each point count station. Please see associated Data Defintions for field names and descriptions. During the conversion from AKN's data format into a format that is readable by importNETNbirds, getAKNData filters out detections of mammals and unidentified species, checks AOU Codes against the most recent list supplied by the look-up table BirdSpecies.csv, and renames and recodes a variety of data columns (e.g., detection type, distance) for standardization within the the package. Detections are aggregated into two distance bands (less than or greater than 50m from the observer), or are not recorded or considered as flyovers.


NCRN/NCRNbirds documentation built on Aug. 28, 2023, 12:12 p.m.