Skip to contents

Like label_fisheries(), but uses an active FRAM database to label fisheries, rather than the look-up table present in the framrosetta package. Primarily used in fetch_table(), useful if working with databases with unusual stock or fishery tables.

Usage

label_fisheries_db(.data, fram_db)

Arguments

.data

Dataframe containing `fishery_id` column (or analogous column with different name specied by `fisheries_col` argument)

fram_db

FRAM database connection

Value

.data with additional column, $fishery_label