Skip to contents

This helper function ensures that the catch data frame contains the required columns, extracts only the rows for the specified species, and checks that a single gear is used (current assumption of the code which may subsequently be overhauled).

Usage

valid_catch(catch, species)