canada_sql_inject_fishery_filters: Inject SQL code for fishery categories and types based on the...

View source: R/utils-canada-sql-inject-fishery-filters.R

canada_sql_inject_fishery_filtersR Documentation

Inject SQL code for fishery categories and types based on the fleet type

Description

Injects ⁠GFBIO VESSEL_REGISTRATION_NUMBER⁠s where the text "– inject vessel codes here" appears in the SQL code and TRIP_CATEGORYs where "– inject fishery categories here" appears

Usage

canada_sql_inject_fishery_filters(sql, type = c("ft", "ss", "jv"))

Arguments

sql

SQL code as a vector of character strings (from readLines())

type

one of "ft", "ss", or "jv" for Freezer Trawler, Shoreside, or Joint Venture respectively


pacific-hake/hake-assessment documentation built on July 21, 2024, 8:19 a.m.