pull_survey_weight_at_age: Pull survey weight-at-age data from the NWFSC Network

View source: R/utils-pull-survey-.R

pull_survey_weight_at_ageR Documentation

Pull survey weight-at-age data from the NWFSC Network

Description

Bring both survey years and research years together but as of right now the only research years available are 2016, 2017, and 2018 because the other years do not have files on the network that I can grab. Alicia is working on getting everything into a database but that work is going slow.

Usage

pull_survey_weight_at_age(
  dir = "\\\\nwcfile\\fram\\Survey.Acoustics",
  summary_file_name = "1977-2023_Survey_Biodata.xlsx"
)

Arguments

dir

The directory of interest for the NWFSC Network Acoustic Survey data. The default is "\\\\nwcfile\\fram\\Survey.Acoustics".

summary_file_name

A string with the extension of xlsx that lives in the directory ⁠Data Processing/Historic Biodata⁠ beneath dir.

Details

This function takes a while because it uses fs::dir_ls() to find the appropriate file names when looking for the research-year data.


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.