get_isdb: get_isdb

View source: R/isdb.R

get_isdbR Documentation

get_isdb

Description

This function extracts all of the records from the ISDB database that are within a particular date range, and if a fleet is provided, it will also limit the results to those vessels with particular combinations of VR and licence.

Usage

get_isdb(
  thisFleet = NULL,
  get_marfis = NULL,
  keepSurveyTrips = NULL,
  dateStart = NULL,
  dateEnd = NULL,
  ...
)

Arguments

thisFleet

default is NULL. This is a dataframe that must include the columns "LICENCE_ID" and "VR_NUMBER". It can take the results from Mar.fleets::get_fleet()

get_marfis

default is NULL. This is the list output by the Mar.fleets::get_marfis() function - it contains dataframes of both the trip and set information from MARFIS related to the specified fleet

keepSurveyTrips

default is FALSE. This indicates whether you want to retain trips that were part of a survey. These are not typical commercial trips and their distribution will not reflect normal commercial fishing patterns.

dateStart

default is NULL. This is the start date (YYYY-MM-DD) of the window of time you want to look at.

dateEnd

default is NULL. This is the end date (YYYY-MM-DD) of the window of time you want to look at. If this is left blank, 1 year of data will be returned.

...

other arguments passed to methods

Value

returns a list with 2 dataframes - "ISDB_TRIPS", and "ISDB_SETS". "ISDB_TRIPS" contains information for the ISDB trips, while "ISDB_SETS" contains information about the ISDB sets.

Author(s)

Mike McMahon, Mike.McMahon@dfo-mpo.gc.ca

See Also

Other coreFuncs: fleet_(), getED(), getHIC(), getHOC(), getPS(), get_fleet(), get_isdb_sets(), get_isdb_trips(), get_marfis_sets(), get_marfis(), set_defaults(), summarize_locations()


Maritimes/Mar.bycatch documentation built on Feb. 6, 2024, 3:27 p.m.