lookup: Lookup PBS metadata and descriptive data filters

lookupR Documentation

Lookup PBS metadata and descriptive data filters

Description

Extracts metadata and descriptive details useful in filtering data (i.e. for extracting data only from a specific survey). Codes are often used in arguments or for filtering and can be looked up with these functions.

Usage

get_ssids()

get_active_survey_blocks(ssid = NULL, active_only = TRUE)

get_major_areas()

get_management_areas()

get_fishery_ids()

get_species_groups()

get_comm_gear_types()

get_survey_gear_types()

get_age_methods()

get_species()

get_strata_areas()

get_survey_ids(ssid)

get_sensor_attributes()

get_fishery_sectors()

get_other_surveys()

get_table(name)

Arguments

ssid

A numeric vector of survey series IDs. Run get_ssids() for a look-up table of available survey series IDs with surveys series descriptions.

active_only

Logical: return only active blocks?

name

The name of the table to get all records from. For code table use variable name without the'_code' suffix.

Details

  • get_ssids() produces a lookup table for survey series IDs and descriptions

  • get_age_methods() produces a lookup table for ageing method codes and descriptions

  • get_sample_trips()produces a lookup table for sample ID and fishing event ID

  • get_strata_areas() produces a lookup table for surveyed area for each stratum within surveys

  • get_survey_ids() produces lookup table for survey IDs for a given survey series ID

  • get_major_areas() produces lookup table for major area descriptions for a given major area code


pbs-assess/gfdata documentation built on Feb. 16, 2025, 7:47 a.m.