UpdateAllObjects: Update the 7 .rda objects for streamlined package function

View source: R/main.R

UpdateAllObjectsR Documentation

Update the 7 .rda objects for streamlined package function

Description

Update the 7 .rda objects for streamlined package function

Usage

UpdateAllObjects(input.path, output.path)

Arguments

input.path

The path to the folder containing the .csv data to convert to .rda objects.

output.path

The path to the R package data folder to hold the updated objects.

Details

This function was added to streamline any updates to the 7 package objects that define the core inputs for estimate generation. The 7 objects are:

  • MasterFileList - A list of each year/area/strata/transect/observer combination for the ACP, CRD, YKD, YKG, and 10-02 surveys and the location of all associated clean input files that produce an index estimate.

  • MasterFileList_WBPHS - A list of each year/observer combination for the WBPHS surve and the location of all associated clean input files that produce an index estimate.

  • sppntable - A list of the accepted species code, common name, and scientific name of all avian species used in the package. These are separated by project.

  • WBPHSsppntable - A list of the accepted species code, common name, and scientific name of all avian species used on the WBPHS survey.

  • WBPHS_VCF - A list of visibility correction factors (VCFs) by species and stratum for the WBPHS survey.

  • WBPHS_PoolSpecies - A list of species and selected associated guilds (eider, grebe, merganser, scoter) for pooling WBPHS estimates.

  • WBPHSHistoric - The master table of historic WBPHS estimates.

Value

The 7 objects are updated and saved in the data folder of the package.

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.