Pull length composition estimates from AFSC surveys

pull_format_gap_size_comp(
  survey_definition_id,
  area_id,
  taxa,
  start_year,
  end_year,
  comp_type = "length_cm"
)

Arguments

area_id

Survey area identifier.

taxa

Vector of information on species created by akfingapdata::get_gap_taxonomic_classification().

start_year

The start year of data to pull.

end_year

The end year of data to pull.

comp_type

Text string indicating whether to process length or age composition data. Default "length_cm".

survey_defition_id

Survey definition identifier.

Value

Matrix of composition estimates for a species.

Author

Chantel Wetzel